Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UCHAR to CString Pin
jmkhael6-Apr-04 3:39
jmkhael6-Apr-04 3:39 
GeneralRe: UCHAR to CString Pin
David Crow6-Apr-04 3:44
David Crow6-Apr-04 3:44 
GeneralRe: UCHAR to CString Pin
John R. Shaw6-Apr-04 16:35
John R. Shaw6-Apr-04 16:35 
GeneralInvalid Argument Pin
sschilachi6-Apr-04 2:18
sschilachi6-Apr-04 2:18 
GeneralRe: Invalid Argument Pin
David Crow6-Apr-04 3:35
David Crow6-Apr-04 3:35 
GeneralRe: Invalid Argument Pin
sschilachi6-Apr-04 5:31
sschilachi6-Apr-04 5:31 
GeneralRe: Invalid Argument Pin
David Crow6-Apr-04 5:42
David Crow6-Apr-04 5:42 
AnswerRe: An invalid argument was encountered Pin
rhfritz121-Apr-10 3:04
rhfritz121-Apr-10 3:04 
This response has nothing to do with this thread except that I found this thread when searching for the cause of this error message. In my case, I had serialized a CStringArray object to a file using a CArchive. Somehow the file became corrupted, overwritten/filled with zeros, when my machine was shut down. When I restarted my machine and my application attempted to load this file, I got the "An invalid argument was encountered" message box. The solution was to use some easily testable numeric values that had already been written in the file prior to the CStringArray as a means to determine if the file was corrupt. At that point my logic treats a corrupt file in the same manner as a non-existent one and simply re-creates it. I've posted this here in the hope my experience might help someone else.
Questionuser defined events? Pin
nurpinar6-Apr-04 2:17
nurpinar6-Apr-04 2:17 
AnswerRe: user defined events? Pin
mangellj6-Apr-04 3:56
mangellj6-Apr-04 3:56 
GeneralC++ help - getting object types Pin
Anonymous6-Apr-04 2:17
Anonymous6-Apr-04 2:17 
GeneralRe: C++ help - getting object types Pin
Cedric Moonen6-Apr-04 2:29
Cedric Moonen6-Apr-04 2:29 
GeneralRe: C++ help - getting object types Pin
thowra6-Apr-04 2:58
thowra6-Apr-04 2:58 
GeneralRe: C++ help - getting object types Pin
Cedric Moonen6-Apr-04 3:09
Cedric Moonen6-Apr-04 3:09 
GeneralRe: C++ help - getting object types Pin
thowra6-Apr-04 6:18
thowra6-Apr-04 6:18 
GeneralRe: C++ help - getting object types Pin
Maximilien6-Apr-04 2:59
Maximilien6-Apr-04 2:59 
GeneralRe: C++ help - getting object types Pin
Andrew Walker6-Apr-04 4:49
Andrew Walker6-Apr-04 4:49 
GeneralRe: C++ help - getting object types Pin
Nemanja Trifunovic6-Apr-04 5:05
Nemanja Trifunovic6-Apr-04 5:05 
GeneralRe: C++ help - getting object types Pin
Maxwell Chen6-Apr-04 16:45
Maxwell Chen6-Apr-04 16:45 
GeneralRe: C++ help - getting object types Pin
David Crow6-Apr-04 4:57
David Crow6-Apr-04 4:57 
GeneralRe: C++ help - getting object types Pin
thowra6-Apr-04 6:16
thowra6-Apr-04 6:16 
GeneralDebug service Pin
Anonymous6-Apr-04 0:56
Anonymous6-Apr-04 0:56 
GeneralRe: Debug service Pin
Milton Karimbekallil6-Apr-04 1:15
Milton Karimbekallil6-Apr-04 1:15 
Generalstock quote Pin
Anonymous6-Apr-04 0:54
Anonymous6-Apr-04 0:54 
Generalbitmap Pin
m_vnaresh6-Apr-04 0:46
m_vnaresh6-Apr-04 0:46 

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.