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

C / C++ / MFC

 
GeneralRe: UpdateAllViews Pin
sawerr2-Jun-08 1:48
sawerr2-Jun-08 1:48 
GeneralRe: UpdateAllViews Pin
SandipG 2-Jun-08 1:57
SandipG 2-Jun-08 1:57 
AnswerRe: UpdateAllViews Pin
Nelek2-Jun-08 4:43
protectorNelek2-Jun-08 4:43 
QuestionA Simple Password Generator Pin
Werty fool2-Jun-08 0:27
Werty fool2-Jun-08 0:27 
AnswerRe: A Simple Password Generator Pin
CPallini2-Jun-08 0:52
mveCPallini2-Jun-08 0:52 
AnswerRe: A Simple Password Generator Pin
James R. Twine2-Jun-08 2:54
James R. Twine2-Jun-08 2:54 
GeneralRe: A Simple Password Generator Pin
Werty fool2-Jun-08 5:32
Werty fool2-Jun-08 5:32 
QuestionApplication Crashes while shutting down service. Pin
andspeed1-Jun-08 23:58
andspeed1-Jun-08 23:58 
I am facing a strange problem to debug. My Program runs as a service and uses a static API library to make some function calls.

The API library dynamically loads X_SERV.DLL ( a WIN32DLL through LoadLibrary and GetProcAddres sequence).
This X_SERV.DLL loads Y_PH.DLL dnamically ( again through Load Library & GetProcAddress sequence ).
Y_PH.dll uses functions exported by Z_LH.dll ( through implict linking). Z_LH.dll uses MFC

Now when I shutdown my service, I get the following access violation error in mfc40u.dll ( Yes I have to use archaic VC4 Frown | :( )
---- The instruction at "0x61e6eff4" referenced memory at "0x00000004". The memory could not be "read" ------

The 0x61e6eff refers to an instruction in mfc40u.dll

The problem is strange because when I use DLLS A_PH.DLL in place of Y_PH.dll and B_LH.dll in place of Z_LH.dll, i never encounter this problem. The difference is A_PH.dll uses functions of B_LH.dll through explicit linking ( using LoadLibrary & GetProcAddress).Also B_LH.dll is a win32 dll.

Any insights on this is highly appreciated!!!

I am fairly new to these things in DLL ( MFC and implicit linking).. so if any of you wants more information that would give a clue, I would be more than happy to oblige.

Thanks in advance for your help...

Quality is never an accident. It is always the result of intelligent effort.
AnswerRe: Application Crashes while shutting down service. Pin
CDP18022-Jun-08 0:28
CDP18022-Jun-08 0:28 
GeneralRe: Application Crashes while shutting down service. Pin
andspeed2-Jun-08 9:17
andspeed2-Jun-08 9:17 
AnswerRe: Application Crashes while shutting down service. Pin
SandipG 2-Jun-08 1:17
SandipG 2-Jun-08 1:17 
Questiondll problem Pin
prithaa1-Jun-08 23:52
prithaa1-Jun-08 23:52 
AnswerRe: dll problem Pin
prithaa2-Jun-08 0:00
prithaa2-Jun-08 0:00 
GeneralRe: dll problem Pin
Graham Shanks2-Jun-08 2:50
Graham Shanks2-Jun-08 2:50 
QuestionAbout Read and Receive new message Pin
savitri1-Jun-08 23:17
savitri1-Jun-08 23:17 
AnswerRe: About Read and Receive new message Pin
Cedric Moonen1-Jun-08 23:44
Cedric Moonen1-Jun-08 23:44 
JokeRe: About Read and Receive new message Pin
Rajesh R Subramanian1-Jun-08 23:48
professionalRajesh R Subramanian1-Jun-08 23:48 
GeneralRe: About Read and Receive new message Pin
savitri2-Jun-08 0:07
savitri2-Jun-08 0:07 
GeneralRe: About Read and Receive new message Pin
Cedric Moonen2-Jun-08 0:41
Cedric Moonen2-Jun-08 0:41 
GeneralRe: About Read and Receive new message Pin
Rajesh R Subramanian2-Jun-08 0:59
professionalRajesh R Subramanian2-Jun-08 0:59 
AnswerRe: About Read and Receive new message Pin
_AnsHUMAN_ 2-Jun-08 0:22
_AnsHUMAN_ 2-Jun-08 0:22 
AnswerRe: About Read and Receive new message [modified] Pin
SandipG 2-Jun-08 0:57
SandipG 2-Jun-08 0:57 
AnswerRe: About Read and Receive new message Pin
Hamid_RT3-Jun-08 1:11
Hamid_RT3-Jun-08 1:11 
QuestionGetFileAttributes Pin
john56321-Jun-08 23:11
john56321-Jun-08 23:11 
AnswerRe: GetFileAttributes Pin
_AnsHUMAN_ 1-Jun-08 23:36
_AnsHUMAN_ 1-Jun-08 23:36 

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.