Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetQueueStatus Pin
Alex_Y1-Aug-05 7:37
Alex_Y1-Aug-05 7:37 
GeneralRe: GetQueueStatus Pin
David Crow1-Aug-05 7:58
David Crow1-Aug-05 7:58 
GeneralRe: GetQueueStatus Pin
Alex_Y1-Aug-05 8:39
Alex_Y1-Aug-05 8:39 
GeneralCSock and firewall Pin
Shay Harel1-Aug-05 4:56
Shay Harel1-Aug-05 4:56 
GeneralRe: CSock and firewall Pin
Anonymous1-Aug-05 5:13
Anonymous1-Aug-05 5:13 
GeneralRe: CSock and firewall Pin
Anonymous1-Aug-05 5:17
Anonymous1-Aug-05 5:17 
GeneralRe: CSock and firewall Pin
Anonymous2-Aug-05 7:14
Anonymous2-Aug-05 7:14 
QuestionConverting from MFC Ext DLL to standard MFC DLL? Pin
Anacreon1-Aug-05 4:48
Anacreon1-Aug-05 4:48 
I have a DLL which was written as an MFC Extension DLL -- no CWinApp-derived class, and a DllMain function. I'm making changes to the DLL and would like to convert it over, and give it a CWinApp. What do I need to do besides moving the DllMain code into the InitInstance and ExitInstance overrides, and removing the _AFXEXT preprocessor define? I did those things, and the DLL builds fine; but when I attempt to load it in an application, an assert statement fails inside the CWinApp constructor -- the assert is,

ASSERT(AfxGetThread() == NULL);

-- AfxGetThread() is returning a pointer to theApp, which is the globally defined instance of the class I derived from CWinApp. Who modifies the module state before the CWinApp constructor is called?
AnswerRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Alex_Y1-Aug-05 4:56
Alex_Y1-Aug-05 4:56 
GeneralRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Anacreon1-Aug-05 5:03
Anacreon1-Aug-05 5:03 
AnswerRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Anacreon1-Aug-05 5:02
Anacreon1-Aug-05 5:02 
GeneralRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Alex_Y1-Aug-05 5:57
Alex_Y1-Aug-05 5:57 
AnswerRe: Converting from MFC Ext DLL to standard MFC DLL? Pin
Anacreon2-Aug-05 4:35
Anacreon2-Aug-05 4:35 
GeneralWorker Thread notification in the middle. Pin
Member 17526741-Aug-05 4:22
Member 17526741-Aug-05 4:22 
GeneralRe: Worker Thread notification in the middle. Pin
Eytukan1-Aug-05 4:35
Eytukan1-Aug-05 4:35 
GeneralRe: Worker Thread notification in the middle. Pin
Abebe1-Aug-05 4:56
Abebe1-Aug-05 4:56 
GeneralRe: Worker Thread notification in the middle. Pin
Eytukan1-Aug-05 5:32
Eytukan1-Aug-05 5:32 
GeneralRe: Worker Thread notification in the middle. Pin
David Crow1-Aug-05 5:49
David Crow1-Aug-05 5:49 
GeneralUsing a #include in a struct Pin
Anonymous1-Aug-05 3:55
Anonymous1-Aug-05 3:55 
GeneralRe: Using a #include in a struct Pin
toxcct1-Aug-05 3:59
toxcct1-Aug-05 3:59 
GeneralRe: Using a #include in a struct Pin
Anonymous1-Aug-05 5:10
Anonymous1-Aug-05 5:10 
GeneralRe: Using a #include in a struct Pin
Maximilien1-Aug-05 4:53
Maximilien1-Aug-05 4:53 
GeneralRe: Using a #include in a struct Pin
toxcct1-Aug-05 5:05
toxcct1-Aug-05 5:05 
GeneralRe: Using a #include in a struct Pin
Anonymous1-Aug-05 5:07
Anonymous1-Aug-05 5:07 
GeneralRe: Using a #include in a struct Pin
toxcct1-Aug-05 5:16
toxcct1-Aug-05 5:16 

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.