Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CreateDlgControls failing during initialization?

Status
Not open for further replies.

golyg

Programmer
Jul 22, 2002
319
US
When i attempt to debug, i have worked out the issues earlier, it exits immediately before the app even starts.
in the debug window i receive a message that states:
"
Warning: CreateDlgControls failed during dialog init.
First-chance exception in Lms.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
"

The error message is from the DLGCORE.cpp file under
\Microsoft Visual Studio\VC98\MFC\SRC\ directory.

Does anyone know why this is happening?
I've installed some 3rd party controls and to the best of my knowledge everything has been registered.

specs:
OS: XP
env: Visual 6.0 sp4, Microsoft Visual C++.

This is driving me crazzzzzyyyy..

Thanks in advance,
 
>> I've installed some 3rd party controls

Your using them in the application? If so does this error occur in a dialog based applciation without the 3rd party control(s)?

Any other relevant facts you can think of?

It probably won't help but you should install SP5

-pete
I just can't seem to get back my IntelliSense
 
Yes, I am using the controls in my application.

>>If so does this error occur in a dialog based applciation without the 3rd party control(s)?

I am not sure what you mean by this.

I have tried installing sp5 but when i did, i received an dialog asking for the "Nafxcwd.pdb" file. I would point it to this file and it would say "found the file, but wrong version" so i uninstalled everything and just put on sp4.

FYI:
this is an application that was created on NT4.0 for NT4.0 but they wanted an XP version. so after some changes we released it for XP.
There has been some errors on XP that we cannot reproduce on NT, so we decided to intall all the development tools on this XP box to reproduce the error in order to debug. no luck with anything right now.


thanks for the quick feedback.

let me play around for awhile, i'llpost any info.

 
I solved this problem, here is what i did,

It appears that one of my 3rd party controls was calling the old mfc40.dll while the other 2 were calling the mfc42.dll.

It appears that you can only have one instance of this .dll running.

I used dependency walker to help me with this error.

thanks for all your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top