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

C / C++ / MFC

 
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 
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 
And the answer is: Not only do you need to remove the _AFXEXT define, you also need to add a _USRDLL define. Do those two things and it will work fine.

Bonus hint, regarding AFX_MANAGE_STATE: you apparently need to invoke this not only at the top of your exported functions, but also at the entry point of any worker threads you create that will use MFC functionality.
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 
GeneralRe: Using a #include in a struct Pin
Bob Stanneveld1-Aug-05 7:37
Bob Stanneveld1-Aug-05 7:37 
GeneralRe: Using a #include in a struct Pin
Jonas Åhrman2-Aug-05 6:52
sussJonas Åhrman2-Aug-05 6:52 
GeneralRe: Using a #include in a struct Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1-Aug-05 5:25
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1-Aug-05 5:25 
GeneralRe: Using a #include in a struct Pin
Bob Stanneveld1-Aug-05 7:34
Bob Stanneveld1-Aug-05 7:34 
GeneralRe: Using a #include in a struct Pin
Anonymous2-Aug-05 5:15
Anonymous2-Aug-05 5:15 

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.