Click here to Skip to main content
15,921,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
ohadp18-May-04 0:56
ohadp18-May-04 0:56 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
jmkhael18-May-04 1:06
jmkhael18-May-04 1:06 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
HENDRIK R18-May-04 1:22
HENDRIK R18-May-04 1:22 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
ohadp18-May-04 1:38
ohadp18-May-04 1:38 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
HENDRIK R18-May-04 1:56
HENDRIK R18-May-04 1:56 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
ohadp18-May-04 2:04
ohadp18-May-04 2:04 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
HENDRIK R18-May-04 2:10
HENDRIK R18-May-04 2:10 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
David Crow18-May-04 2:34
David Crow18-May-04 2:34 
ohadp wrote:
There is no other solution except for placing this in all my methods that perform MFC calls ?

No, it is only needed by those functions that load resources from the DLL. Your DLL can use MFC all day long, but if it ever needs to load one of its own resources, it must use the AFX_MANAGE_STATE() macro.


"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)


GeneralGeneral C++ tempaltes related Pin
rajandpayal17-May-04 19:42
rajandpayal17-May-04 19:42 
GeneralRe: General C++ tempaltes related Pin
Ryan Roberts17-May-04 20:00
Ryan Roberts17-May-04 20:00 
GeneralRe: General C++ tempaltes related Pin
Paul Ranson18-May-04 5:23
Paul Ranson18-May-04 5:23 
GeneralCOM Container for office file Pin
vishalmore17-May-04 19:24
vishalmore17-May-04 19:24 
GeneralDrawing text to the Desktop wnd Pin
TigerNinja_17-May-04 17:54
TigerNinja_17-May-04 17:54 
GeneralRe: Drawing text to the Desktop wnd Pin
alex.barylski17-May-04 18:58
alex.barylski17-May-04 18:58 
GeneralRe: Drawing text to the Desktop wnd Pin
TigerNinja_18-May-04 15:45
TigerNinja_18-May-04 15:45 
GeneralRe: Drawing text to the Desktop wnd Pin
alex.barylski18-May-04 17:15
alex.barylski18-May-04 17:15 
GeneralRe: Drawing text to the Desktop wnd Pin
parths17-May-04 20:18
parths17-May-04 20:18 
GeneralRe: Drawing text to the Desktop wnd Pin
Ravi Bhavnani18-May-04 1:46
professionalRavi Bhavnani18-May-04 1:46 
QuestionBinary file reading? Pin
Indrawati17-May-04 17:26
Indrawati17-May-04 17:26 
AnswerRe: Binary file reading? Pin
valikac17-May-04 18:27
valikac17-May-04 18:27 
GeneralRe: Binary file reading? Pin
Indrawati17-May-04 20:05
Indrawati17-May-04 20:05 
GeneralRe: Binary file reading? Pin
valikac17-May-04 20:24
valikac17-May-04 20:24 
GeneralHELP!! - Miniport Dev Guide Pin
vnm617-May-04 17:21
vnm617-May-04 17:21 
GeneralRe: HELP!! - Miniport Dev Guide Pin
Prakash Nadar17-May-04 22:07
Prakash Nadar17-May-04 22:07 
GeneralRe: HELP!! - Miniport Dev Guide Pin
Mike Dimmick18-May-04 1:32
Mike Dimmick18-May-04 1:32 

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.