Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: convert integer value to string objcet? Pin
Sceptic Mole31-Jan-07 9:13
Sceptic Mole31-Jan-07 9:13 
GeneralRe: convert integer value to string objcet? Pin
CPallini31-Jan-07 9:51
mveCPallini31-Jan-07 9:51 
GeneralRe: convert integer value to string objcet? Pin
Hamid_RT31-Jan-07 19:59
Hamid_RT31-Jan-07 19:59 
AnswerRe: convert integer value to string objcet? Pin
Christian Graus31-Jan-07 9:14
protectorChristian Graus31-Jan-07 9:14 
Questionexponential notation question Pin
Victor Monteverde31-Jan-07 8:35
Victor Monteverde31-Jan-07 8:35 
QuestionHINSTANCE adventures Pin
dabs31-Jan-07 6:26
dabs31-Jan-07 6:26 
AnswerRe: HINSTANCE adventures Pin
Mark Salsbery31-Jan-07 6:52
Mark Salsbery31-Jan-07 6:52 
AnswerRe: HINSTANCE adventures Pin
James R. Twine31-Jan-07 8:52
James R. Twine31-Jan-07 8:52 
   N.B. You can pass a NULL to get information on the current module - this is how code in an EXE can get the location of the EXE.  I do not know if you call that from within the DLL if you will get the path of the DLL or the hosting EXE, but it might work...

   Can you store the HINSTANCE passed to DllMain(...)?  If not, you may be able to use GetModuleHandle(...) to get the DLL's instance (HINSTANCE and HMODULE for a DLL are basically the same and can be interchanged in most cases).

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>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!
See DeleteFXPFiles

GeneralRe: HINSTANCE adventures Pin
Stephen Hewitt31-Jan-07 13:45
Stephen Hewitt31-Jan-07 13:45 
GeneralRe: HINSTANCE adventures Pin
James R. Twine31-Jan-07 15:07
James R. Twine31-Jan-07 15:07 
AnswerRe: HINSTANCE adventures Pin
Stephen Hewitt31-Jan-07 11:48
Stephen Hewitt31-Jan-07 11:48 
Questionproblem with 2d array Pin
ikbahrian31-Jan-07 5:50
ikbahrian31-Jan-07 5:50 
AnswerRe: problem with 2d array [edited] Pin
toxcct31-Jan-07 5:56
toxcct31-Jan-07 5:56 
GeneralRe: problem with 2d array Pin
ikbahrian31-Jan-07 6:02
ikbahrian31-Jan-07 6:02 
GeneralRe: problem with 2d array Pin
toxcct31-Jan-07 6:18
toxcct31-Jan-07 6:18 
Questiondatabase connection Pin
jagdishbhai31-Jan-07 5:10
jagdishbhai31-Jan-07 5:10 
AnswerRe: database connection Pin
led mike31-Jan-07 5:48
led mike31-Jan-07 5:48 
QuestionRe: database connection Pin
slipnit31-Jan-07 9:24
slipnit31-Jan-07 9:24 
AnswerRe: database connection Pin
led mike31-Jan-07 11:52
led mike31-Jan-07 11:52 
GeneralRe: database connection Pin
slipnit1-Feb-07 4:26
slipnit1-Feb-07 4:26 
AnswerRe: database connection Pin
Hamid_RT31-Jan-07 20:26
Hamid_RT31-Jan-07 20:26 
QuestionRadio Buttons in VS2005 Pin
#realJSOP31-Jan-07 5:00
mve#realJSOP31-Jan-07 5:00 
JokeRe: Radio Buttons in VS2005 Pin
James R. Twine31-Jan-07 5:06
James R. Twine31-Jan-07 5:06 
GeneralRe: Radio Buttons in VS2005 Pin
#realJSOP31-Jan-07 6:07
mve#realJSOP31-Jan-07 6:07 
AnswerRe: Radio Buttons in VS2005 Pin
Nish Nishant31-Jan-07 6:07
sitebuilderNish Nishant31-Jan-07 6:07 

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.