Click here to Skip to main content
15,891,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalchart graph in MFC Pin
nnvidya17-May-04 20:32
nnvidya17-May-04 20:32 
QuestionHow To Use JPG image Pin
balajeedurai17-May-04 20:14
balajeedurai17-May-04 20:14 
AnswerRe: How To Use JPG image Pin
alex.barylski17-May-04 20:26
alex.barylski17-May-04 20:26 
GeneralRe: How To Use JPG image Pin
balajeedurai17-May-04 20:31
balajeedurai17-May-04 20:31 
GeneralRe: How To Use JPG image Pin
alex.barylski17-May-04 21:10
alex.barylski17-May-04 21:10 
GeneralAfxGetModuleState not returning DLL's ModuleState Pin
ohadp17-May-04 19:45
ohadp17-May-04 19:45 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
Prakash Nadar17-May-04 21:56
Prakash Nadar17-May-04 21:56 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
ohadp17-May-04 22:00
ohadp17-May-04 22:00 
Yes because when loading resources (AfxFindStringResourceHandle for example), AfxGetModuleState is called.

So, my DLL tries to load a String resource for example, and tries to run through all of the EXE's resource-handles (because AfxGetModuleState returns the EXE's module object) instead of it's own list of resource-handles (stored in it's own module-object).

Am I missing something ?
Does the DLL really have it's own moduleobject ? I'm pretty sure it does, but why isn't it returned then ?

thanks
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
Prakash Nadar17-May-04 22:34
Prakash Nadar17-May-04 22:34 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
ohadp17-May-04 22:39
ohadp17-May-04 22:39 
GeneralRe: AfxGetModuleState not returning DLL's ModuleState Pin
HENDRIK R17-May-04 23:11
HENDRIK R17-May-04 23:11 
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 
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 

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.