Click here to Skip to main content
16,010,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNon-Wizard CEdit Control Pin
JennyP11-Sep-02 10:40
JennyP11-Sep-02 10:40 
GeneralRe: Non-Wizard CEdit Control Pin
Ernest Laurentin11-Sep-02 11:20
Ernest Laurentin11-Sep-02 11:20 
GeneralRe: Non-Wizard CEdit Control Pin
JennyP11-Sep-02 12:05
JennyP11-Sep-02 12:05 
GeneralRe: Non-Wizard CEdit Control Pin
Ernest Laurentin11-Sep-02 18:38
Ernest Laurentin11-Sep-02 18:38 
GeneralCListCtrl: multi line report items, differing fonts Pin
JennyP11-Sep-02 10:39
JennyP11-Sep-02 10:39 
GeneralRe: CListCtrl: multi line report items, differing fonts Pin
Gary R. Wheeler11-Sep-02 14:14
Gary R. Wheeler11-Sep-02 14:14 
GeneralICopyHook and files... Pin
Anders Molin11-Sep-02 10:10
professionalAnders Molin11-Sep-02 10:10 
QuestionHow do I work with the '\' Pin
Jose Cruz11-Sep-02 9:51
Jose Cruz11-Sep-02 9:51 
My problem is:

I´m trying to replace my file name from the CString wich value is "C:\esContaX\Archivos\TblPols.dbf" to finish with something like this: "C:\esContaX\Archivos\" using the following code: m_strAppPath.TrimRight('\'); , but I get the following errors:

--------------------Configuration: esContaX - Win32 Debug--------------------
Compiling...
esContaX.cpp
C:\esContaX\esContaX.cpp(230) : error C2001: newline in constant
C:\esContaX\esContaX.cpp(232) : error C2143: syntax error : missing ')' before 'return'
C:\esContaX\esContaX.cpp(232) : warning C4305: 'argument' : truncation from 'const int' to 'char'
C:\esContaX\esContaX.cpp(232) : warning C4309: 'argument' : truncation of constant value
Error executing cl.exe.

esContaX.exe - 2 error(s), 2 warning(s)

Can somebody help me showing me how can I acomplish this.
AnswerRe: How do I work with the '\' Pin
spotofleopard11-Sep-02 9:58
spotofleopard11-Sep-02 9:58 
AnswerRe: How do I work with the '\' Pin
Tim Smith11-Sep-02 9:58
Tim Smith11-Sep-02 9:58 
GeneralRe: How do I work with the '\' Pin
Jose Cruz11-Sep-02 10:09
Jose Cruz11-Sep-02 10:09 
GeneralRe: How do I work with the '\' Pin
Ernest Laurentin11-Sep-02 11:11
Ernest Laurentin11-Sep-02 11:11 
Generalan XOR problem!!! Pin
ns11-Sep-02 9:39
ns11-Sep-02 9:39 
GeneralRe: an XOR problem!!! Pin
Tim Smith11-Sep-02 9:56
Tim Smith11-Sep-02 9:56 
GeneralRe: an XOR problem!!! Pin
ns11-Sep-02 9:59
ns11-Sep-02 9:59 
GeneralRe: an XOR problem!!! Pin
Tim Smith11-Sep-02 10:14
Tim Smith11-Sep-02 10:14 
GeneralRe: an XOR problem!!! Pin
ns11-Sep-02 10:15
ns11-Sep-02 10:15 
GeneralRe: an XOR problem!!! Pin
Ravi Bhavnani11-Sep-02 10:21
professionalRavi Bhavnani11-Sep-02 10:21 
GeneralRe: an XOR problem!!! Pin
ns11-Sep-02 10:34
ns11-Sep-02 10:34 
GeneralRe: an XOR problem!!! Pin
Ravi Bhavnani11-Sep-02 10:39
professionalRavi Bhavnani11-Sep-02 10:39 
GeneralRe: an XOR problem!!! Pin
ns11-Sep-02 10:46
ns11-Sep-02 10:46 
GeneralRe: an XOR problem!!! Pin
Ravi Bhavnani11-Sep-02 10:51
professionalRavi Bhavnani11-Sep-02 10:51 
GeneralRe: an XOR problem!!! Pin
ns11-Sep-02 10:49
ns11-Sep-02 10:49 
GeneralRe: an XOR problem!!! Pin
Ravi Bhavnani11-Sep-02 10:55
professionalRavi Bhavnani11-Sep-02 10:55 
GeneralRe: an XOR problem!!! Pin
Ravi Bhavnani11-Sep-02 11:04
professionalRavi Bhavnani11-Sep-02 11:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.