Click here to Skip to main content
15,911,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow do i get my EXE file path??? Pin
14-Jul-01 2:38
suss14-Jul-01 2:38 
AnswerRe: how do i get my EXE file path??? Pin
Brad Bruce14-Jul-01 2:58
Brad Bruce14-Jul-01 2:58 
GeneralMysterious dot Pin
14-Jul-01 2:36
suss14-Jul-01 2:36 
GeneralVisual C++ environment ... Pin
Hadi Rezaee14-Jul-01 1:38
Hadi Rezaee14-Jul-01 1:38 
GeneralRe: Visual C++ environment ... Pin
Anders Molin14-Jul-01 1:43
professionalAnders Molin14-Jul-01 1:43 
GeneralMP3 Streaming Pin
Matt Newman13-Jul-01 17:06
Matt Newman13-Jul-01 17:06 
GeneralCString::Replace hell Pin
James Millson13-Jul-01 16:55
James Millson13-Jul-01 16:55 
GeneralRe: CString::Replace hell Pin
Ben Burnett13-Jul-01 17:08
Ben Burnett13-Jul-01 17:08 
I think the culprit is your last ASSERT statement, CString's Find member returns -1, if the sub string was not found.

It should be:
ASSERT ( strTest.Find ( _T ( "world" ) ) != -1 )


-Ben

---------
On the topic of code with no error handling -- It's not poor coding, it's "optimistic" Wink | ;)
GeneralRe: CString::Replace hell Pin
Steve T13-Jul-01 18:56
Steve T13-Jul-01 18:56 
GeneralRe: CString::Replace hell Pin
Ben Burnett13-Jul-01 19:29
Ben Burnett13-Jul-01 19:29 
GeneralRe: CString::Replace hell Pin
James Millson13-Jul-01 21:40
James Millson13-Jul-01 21:40 
GeneralPassing ADO Connection from VB object to an VC Object Pin
13-Jul-01 16:20
suss13-Jul-01 16:20 
GeneralA little conversion... Pin
Kyle13-Jul-01 14:49
Kyle13-Jul-01 14:49 
GeneralRe: A little conversion... Pin
Ben Burnett14-Jul-01 7:00
Ben Burnett14-Jul-01 7:00 
GeneralCarriage Return vs. New Line Pin
John Uhlenbrock13-Jul-01 11:53
John Uhlenbrock13-Jul-01 11:53 
GeneralRe: Carriage Return vs. New Line Pin
stephen.hazel13-Jul-01 12:15
stephen.hazel13-Jul-01 12:15 
GeneralDao Database Creation Pin
otvac13-Jul-01 10:52
otvac13-Jul-01 10:52 
GeneralRe: Dao Database Creation Pin
Carlos Antollini13-Jul-01 11:07
Carlos Antollini13-Jul-01 11:07 
GeneralStreamOut / In Pin
Frank Deo13-Jul-01 10:29
Frank Deo13-Jul-01 10:29 
GeneralRe: StreamOut / In Pin
Tim Deveaux13-Jul-01 11:23
Tim Deveaux13-Jul-01 11:23 
GeneralRe: StreamOut / In Pin
Frank Deo13-Jul-01 11:28
Frank Deo13-Jul-01 11:28 
GeneralRe: StreamOut / In Pin
Tim Deveaux13-Jul-01 11:40
Tim Deveaux13-Jul-01 11:40 
GeneralRe: StreamOut / In Pin
Frank Deo13-Jul-01 11:52
Frank Deo13-Jul-01 11:52 
QuestionCCheckListBox?? Pin
SAV13-Jul-01 9:33
SAV13-Jul-01 9:33 
AnswerRe: CCheckListBox?? Pin
Ben Burnett13-Jul-01 10:00
Ben Burnett13-Jul-01 10:00 

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.