Click here to Skip to main content
15,900,589 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIn VC6.0, how to change Release to Debug? Pin
zhaopzhi11-Dec-03 14:05
zhaopzhi11-Dec-03 14:05 
AnswerRe: In VC6.0, how to change Release to Debug? Pin
Michael Dunn11-Dec-03 14:45
sitebuilderMichael Dunn11-Dec-03 14:45 
GeneralRe: In VC6.0, how to change Release to Debug? Pin
Shay Harel12-Dec-03 6:51
Shay Harel12-Dec-03 6:51 
AnswerRe: In VC6.0, how to change Release to Debug? Pin
Anthony_Yio11-Dec-03 22:19
Anthony_Yio11-Dec-03 22:19 
GeneralMy DllMain is not getting invoked. Pin
Matthew Busche11-Dec-03 12:02
Matthew Busche11-Dec-03 12:02 
GeneralRe: My DllMain is not getting invoked. Pin
Peter Molnar11-Dec-03 13:36
Peter Molnar11-Dec-03 13:36 
GeneralRe: My DllMain is not getting invoked. Pin
Matthew Busche11-Dec-03 14:07
Matthew Busche11-Dec-03 14:07 
GeneralRe: My DllMain is not getting invoked. Pin
Peter Molnar11-Dec-03 14:40
Peter Molnar11-Dec-03 14:40 
I have created a small project which contains 4 lines of code:
#include <windows.h>
BOOL DllMain(HINSTANCE , DWORD , LPVOID ) 
{   
	::MessageBox(NULL,"test","Caption",MB_OK);      
	return TRUE;
}

and call it
HINSTANCE hInstance = LoadLibrary("pathto.dll");

works just fine.
Try the same. What is hInstance when you debug?

Peter Molnar
GeneralSUCCESS!!! Pin
Matthew Busche12-Dec-03 18:08
Matthew Busche12-Dec-03 18:08 
GeneralRe: My DllMain is not getting invoked. Pin
Mike Dimmick12-Dec-03 2:03
Mike Dimmick12-Dec-03 2:03 
GeneralFloating CDialogBar Pin
Jon Sagara11-Dec-03 11:38
Jon Sagara11-Dec-03 11:38 
GeneralRe: Floating CDialogBar Pin
Jon Sagara11-Dec-03 19:46
Jon Sagara11-Dec-03 19:46 
QuestionHelp? Pin
Anonymous11-Dec-03 11:34
Anonymous11-Dec-03 11:34 
AnswerRe: Help? Pin
Terry O'Nolley11-Dec-03 15:23
Terry O'Nolley11-Dec-03 15:23 
GeneralDLL question Pin
Diarrhio11-Dec-03 11:18
Diarrhio11-Dec-03 11:18 
GeneralRe: DLL question Pin
Diarrhio11-Dec-03 12:52
Diarrhio11-Dec-03 12:52 
Generalmight be a dumb question... Pin
l a u r e n11-Dec-03 11:07
l a u r e n11-Dec-03 11:07 
GeneralRe: might be a dumb question... Pin
Jörgen Sigvardsson11-Dec-03 11:11
Jörgen Sigvardsson11-Dec-03 11:11 
GeneralRe: might be a dumb question... Pin
l a u r e n11-Dec-03 11:19
l a u r e n11-Dec-03 11:19 
GeneralRe: might be a dumb question... Pin
Matthew Busche11-Dec-03 11:17
Matthew Busche11-Dec-03 11:17 
Generalresource DLL Pin
alex.barylski11-Dec-03 10:03
alex.barylski11-Dec-03 10:03 
GeneralRe: resource DLL Pin
Jörgen Sigvardsson11-Dec-03 11:08
Jörgen Sigvardsson11-Dec-03 11:08 
GeneralRe: resource DLL Pin
Michael Dunn11-Dec-03 14:46
sitebuilderMichael Dunn11-Dec-03 14:46 
GeneralRe: resource DLL Pin
alex.barylski11-Dec-03 15:09
alex.barylski11-Dec-03 15:09 
GeneralCStatusbar and an afxMsg question Pin
ns11-Dec-03 9:06
ns11-Dec-03 9:06 

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.