Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dumb question of the week C pointer question. Pin
Sebastian Schneider22-Feb-06 4:19
Sebastian Schneider22-Feb-06 4:19 
GeneralRe: Dumb question of the week C pointer question. Pin
Maximilien22-Feb-06 4:40
Maximilien22-Feb-06 4:40 
AnswerRe: Dumb question of the week C pointer question. Pin
Sebastian Schneider22-Feb-06 4:13
Sebastian Schneider22-Feb-06 4:13 
GeneralRe: Dumb question of the week C pointer question. Pin
Maximilien22-Feb-06 4:45
Maximilien22-Feb-06 4:45 
QuestionApp Path - how to get it Pin
miqel22-Feb-06 3:16
miqel22-Feb-06 3:16 
AnswerRe: App Path - haw to get it Pin
krmed22-Feb-06 3:21
krmed22-Feb-06 3:21 
GeneralRe: App Path - haw to get it Pin
miqel22-Feb-06 3:45
miqel22-Feb-06 3:45 
AnswerRe: App Path - haw to get it Pin
James R. Twine22-Feb-06 3:59
James R. Twine22-Feb-06 3:59 
   Try...
TCHAR caFilenamem[ _MAX_PATH ];
int retval; 
 
retval = GetModuleFileName(NULL, caFilenamem, _MAX_PATH);
   You were passing in an uninitialized pointer.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
AnswerRe: App Path - how to get it Pin
David Crow22-Feb-06 7:00
David Crow22-Feb-06 7:00 
AnswerRe: App Path - how to get it Pin
James R. Twine22-Feb-06 7:25
James R. Twine22-Feb-06 7:25 
GeneralRe: App Path - how to get it Pin
David Crow22-Feb-06 7:34
David Crow22-Feb-06 7:34 
QuestionNamespace Extension icons Pin
Anil_vvs22-Feb-06 2:45
Anil_vvs22-Feb-06 2:45 
AnswerRe: Namespace Extension icons Pin
Alexander M.,22-Feb-06 3:24
Alexander M.,22-Feb-06 3:24 
GeneralRe: Namespace Extension icons Pin
Anil_vvs22-Feb-06 3:27
Anil_vvs22-Feb-06 3:27 
AnswerRe: Namespace Extension icons Pin
ThatsAlok22-Feb-06 22:49
ThatsAlok22-Feb-06 22:49 
QuestionProblem with SHFormatDrive () Pin
rajeevktripathi22-Feb-06 2:41
rajeevktripathi22-Feb-06 2:41 
AnswerRe: Problem with SHFormatDrive () Pin
toxcct22-Feb-06 2:50
toxcct22-Feb-06 2:50 
GeneralRe: Problem with SHFormatDrive () Pin
Sebastian Schneider22-Feb-06 4:16
Sebastian Schneider22-Feb-06 4:16 
GeneralRe: Problem with SHFormatDrive () Pin
Cedric Moonen22-Feb-06 4:34
Cedric Moonen22-Feb-06 4:34 
GeneralRe: Problem with SHFormatDrive () Pin
ThatsAlok22-Feb-06 22:43
ThatsAlok22-Feb-06 22:43 
GeneralRe: Problem with SHFormatDrive () Pin
toxcct22-Feb-06 22:45
toxcct22-Feb-06 22:45 
AnswerRe: Problem with SHFormatDrive () Pin
kakan22-Feb-06 2:54
professionalkakan22-Feb-06 2:54 
AnswerRe: Problem with SHFormatDrive () Pin
David Crow22-Feb-06 2:57
David Crow22-Feb-06 2:57 
GeneralRe: Problem with SHFormatDrive () Pin
kakan22-Feb-06 2:59
professionalkakan22-Feb-06 2:59 
GeneralRe: Problem with SHFormatDrive () Pin
David Crow22-Feb-06 3:08
David Crow22-Feb-06 3:08 

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.