Click here to Skip to main content
15,908,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem with cout <<endl; Pin
dalmar mahamoud31-Jul-07 14:56
dalmar mahamoud31-Jul-07 14:56 
AnswerRe: problem with cout<<endl; Pin
ThatsAlok1-Aug-07 20:24
ThatsAlok1-Aug-07 20:24 
QuestionWhat can you do with another window's handle? Pin
deostroll31-Jul-07 13:34
deostroll31-Jul-07 13:34 
AnswerRe: What can you do with another window's handle? Pin
Naveen31-Jul-07 14:15
Naveen31-Jul-07 14:15 
AnswerRe: What can you do with another window's handle? Pin
bryce31-Jul-07 19:03
bryce31-Jul-07 19:03 
GeneralRe: What can you do with another window's handle? Pin
Naveen31-Jul-07 19:28
Naveen31-Jul-07 19:28 
GeneralRe: What can you do with another window's handle? Pin
ThatsAlok31-Jul-07 22:54
ThatsAlok31-Jul-07 22:54 
QuestionIdentifying the app that calls a DLL Pin
Fernando A. Gomez F.31-Jul-07 13:15
Fernando A. Gomez F.31-Jul-07 13:15 
Hello all. I have a DLL that is used among two different applications. So far, it was nice. However, they recently decided that the application should use some directory (for reading config files) if it is called from program "x" or other directory if the program is "y".

Now I know that with some registry flag or file (no multithread support is required) this will work. Yet I don't want to create extra files and registry keys and such.

So I was wondering, is there any way I can know which program is calling the DLL's functions? I was thinking something about some of the parameters of DllMain, but since I'm with MFC this time, I don't have DllMain, but CWinApp::InitInstance.

Any suggestion will be really appreciated.

Regards,
FG.

A polar bear is a bear whose coordinates has been changed in terms of sine and cosine.
Quanehsti Pah
Nation States


AnswerRe: Identifying the app that calls a DLL Pin
Naveen31-Jul-07 14:21
Naveen31-Jul-07 14:21 
GeneralRe: Identifying the app that calls a DLL Pin
Fernando A. Gomez F.1-Aug-07 6:56
Fernando A. Gomez F.1-Aug-07 6:56 
Question"unresolved external symbol" Pin
alberthyc31-Jul-07 11:12
alberthyc31-Jul-07 11:12 
AnswerRe: "unresolved external symbol" Pin
Cyrilix31-Jul-07 11:19
Cyrilix31-Jul-07 11:19 
GeneralRe: "unresolved external symbol" Pin
alberthyc31-Jul-07 11:30
alberthyc31-Jul-07 11:30 
GeneralRe: "unresolved external symbol" Pin
Mark Salsbery31-Jul-07 11:43
Mark Salsbery31-Jul-07 11:43 
GeneralRe: "unresolved external symbol" Pin
alberthyc31-Jul-07 12:11
alberthyc31-Jul-07 12:11 
GeneralRe: "unresolved external symbol" Pin
ThatsAlok31-Jul-07 22:44
ThatsAlok31-Jul-07 22:44 
Questiondifference between debug mode and release mode. Pin
emmmatty131-Jul-07 10:18
emmmatty131-Jul-07 10:18 
AnswerRe: difference between debug mode and release mode. Pin
Mark Salsbery31-Jul-07 10:26
Mark Salsbery31-Jul-07 10:26 
GeneralRe: difference between debug mode and release mode. Pin
emmmatty131-Jul-07 10:37
emmmatty131-Jul-07 10:37 
GeneralRe: difference between debug mode and release mode. Pin
Mark Salsbery31-Jul-07 11:45
Mark Salsbery31-Jul-07 11:45 
QuestionChanging Screen Brightness/Colour/Contrast Pin
mcsherry31-Jul-07 6:51
mcsherry31-Jul-07 6:51 
AnswerRe: Changing Screen Brightness/Colour/Contrast Pin
David Crow31-Jul-07 6:53
David Crow31-Jul-07 6:53 
GeneralRe: Changing Screen Brightness/Colour/Contrast Pin
mcsherry31-Jul-07 7:15
mcsherry31-Jul-07 7:15 
QuestionRe: Changing Screen Brightness/Colour/Contrast Pin
David Crow31-Jul-07 7:27
David Crow31-Jul-07 7:27 
AnswerRe: Changing Screen Brightness/Colour/Contrast Pin
mcsherry31-Jul-07 7:36
mcsherry31-Jul-07 7:36 

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.