Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: wrapping C functions in C++ Pin
Blake Miller17-May-05 6:32
Blake Miller17-May-05 6:32 
GeneralRe: wrapping C functions in C++ Pin
Michael Dunn17-May-05 17:29
sitebuilderMichael Dunn17-May-05 17:29 
GeneralFileSystemObject Pin
pnpfriend17-May-05 5:39
pnpfriend17-May-05 5:39 
GeneralRe: FileSystemObject Pin
David Crow17-May-05 5:56
David Crow17-May-05 5:56 
GeneralRe: FileSystemObject Pin
pnpfriend17-May-05 7:21
pnpfriend17-May-05 7:21 
GeneralRe: FileSystemObject Pin
David Crow17-May-05 7:39
David Crow17-May-05 7:39 
GeneralRe: FileSystemObject Pin
pnpfriend17-May-05 8:03
pnpfriend17-May-05 8:03 
GeneralRe: FileSystemObject Pin
David Crow17-May-05 9:43
David Crow17-May-05 9:43 
GeneralRe: FileSystemObject Pin
pnpfriend18-May-05 9:34
pnpfriend18-May-05 9:34 
GeneralRe: FileSystemObject Pin
David Crow18-May-05 9:39
David Crow18-May-05 9:39 
GeneralRe: FileSystemObject Pin
pnpfriend23-May-05 10:56
pnpfriend23-May-05 10:56 
GeneralPlease Help with File Access Pin
Dimitris Vikeloudas17-May-05 5:20
Dimitris Vikeloudas17-May-05 5:20 
GeneralRe: Please Help with File Access Pin
Blake Miller17-May-05 6:29
Blake Miller17-May-05 6:29 
GeneralRe: Please Help with File Access Pin
Blake Miller17-May-05 6:44
Blake Miller17-May-05 6:44 
GeneralRe: Please Help with File Access Pin
Dimitris Vikeloudas17-May-05 22:47
Dimitris Vikeloudas17-May-05 22:47 
Generalencrytping files Pin
dSolariuM17-May-05 4:50
dSolariuM17-May-05 4:50 
GeneralRe: encrytping files Pin
Blake Miller17-May-05 4:56
Blake Miller17-May-05 4:56 
GeneralRe: encrytping files Pin
David Crow17-May-05 5:54
David Crow17-May-05 5:54 
Generalnamespaces Pin
scratchmonkey17-May-05 4:24
scratchmonkey17-May-05 4:24 
GeneralRe: namespaces Pin
Trollslayer17-May-05 4:47
mentorTrollslayer17-May-05 4:47 
GeneralRe: namespaces Pin
scratchmonkey17-May-05 5:16
scratchmonkey17-May-05 5:16 
GeneralRe: namespaces Pin
Anthony_Yio17-May-05 17:27
Anthony_Yio17-May-05 17:27 
GeneralProblem in DLL Pin
rajas17-May-05 4:16
rajas17-May-05 4:16 
GeneralRe: Problem in DLL Pin
Blake Miller17-May-05 4:55
Blake Miller17-May-05 4:55 
GeneralRe: Problem in DLL Pin
rajas17-May-05 5:13
rajas17-May-05 5:13 
Thanks for the response.

No, I am not statically linking with MFC.

Each of the function that is exported has the AFX_MANAGE_STATE macro in the first line.

I did read the article Managing the State Data of MFC Modules in MSDN, and think that I follow the recommendations.

The problem occurs in a function that is not exported. In fact, it is part of the initialization routine - which iscalled in the InitInstance in of the CWinApp derived class for the dll.

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.