Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNULL pContext on Dynamic Window Creation?? Pin
Ali Niaz4-Nov-04 6:57
Ali Niaz4-Nov-04 6:57 
QuestionWhat's wrong with this???? Pin
Tom Wright4-Nov-04 5:49
Tom Wright4-Nov-04 5:49 
AnswerRe: What's wrong with this???? Pin
David Crow4-Nov-04 7:41
David Crow4-Nov-04 7:41 
GeneralRe: What's wrong with this???? Pin
Tom Wright4-Nov-04 7:56
Tom Wright4-Nov-04 7:56 
GeneralRe: What's wrong with this???? Pin
Antony M Kancidrowski4-Nov-04 8:24
Antony M Kancidrowski4-Nov-04 8:24 
AnswerRe: What's wrong with this???? Pin
Sujan Christo4-Nov-04 19:55
Sujan Christo4-Nov-04 19:55 
GeneralCurrent directory defining Pin
dudic4-Nov-04 5:27
dudic4-Nov-04 5:27 
GeneralRe: Current directory defining Pin
Tom Wright4-Nov-04 6:12
Tom Wright4-Nov-04 6:12 
Take a look at "GetModuleHandle" and "GetModuleFileName"

GetModuleHandle will return a handle to the currently running app.

Use the handle in GetModuleFileName to get the path of the module...or you app.

You can also use GetCurrentDirectory().

That should do it.

Hope this helps


Tom Wright
tawright915@yahoo.com
GeneralThread question Pin
Tom Wright4-Nov-04 4:12
Tom Wright4-Nov-04 4:12 
GeneralRe: Thread question Pin
lesnikowski4-Nov-04 5:21
lesnikowski4-Nov-04 5:21 
QuestionAdd menu to CDialog? Pin
DanYELL4-Nov-04 4:00
DanYELL4-Nov-04 4:00 
AnswerRe: Add menu to CDialog? Pin
Tom Wright4-Nov-04 4:15
Tom Wright4-Nov-04 4:15 
GeneralScreenshot to .PNG Pin
peterchen4-Nov-04 3:50
peterchen4-Nov-04 3:50 
GeneralSkin on scrollbar of richedit control Pin
verma-rahul4-Nov-04 3:18
verma-rahul4-Nov-04 3:18 
GeneralPath to pdb file in binary Pin
kydfru4-Nov-04 2:51
kydfru4-Nov-04 2:51 
GeneralRe: Path to pdb file in binary Pin
Blake Miller4-Nov-04 6:13
Blake Miller4-Nov-04 6:13 
GeneralRe: Path to pdb file in binary Pin
kydfru4-Nov-04 6:22
kydfru4-Nov-04 6:22 
GeneralRe: Path to pdb file in binary Pin
Blake Miller4-Nov-04 6:32
Blake Miller4-Nov-04 6:32 
GeneralTnaks! Pin
kydfru4-Nov-04 6:53
kydfru4-Nov-04 6:53 
QuestionHow to get why LoadLibrary fails ? Pin
leandrobecker4-Nov-04 2:45
leandrobecker4-Nov-04 2:45 
AnswerRe: How to get why LoadLibrary fails ? Pin
Cedric Moonen4-Nov-04 2:51
Cedric Moonen4-Nov-04 2:51 
GeneralRe: How to get why LoadLibrary fails ? Pin
leandrobecker4-Nov-04 4:18
leandrobecker4-Nov-04 4:18 
GeneralRe: How to get why LoadLibrary fails ? Pin
Cedric Moonen4-Nov-04 4:56
Cedric Moonen4-Nov-04 4:56 
GeneralRe: How to get why LoadLibrary fails ? Pin
leandrobecker4-Nov-04 10:07
leandrobecker4-Nov-04 10:07 
AnswerRe: How to get why LoadLibrary fails ? Pin
Peter Weyzen4-Nov-04 8:14
Peter Weyzen4-Nov-04 8:14 

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.