Failed to create empty document error...
Hi!
My program works perfect on my own box with DevStudio installed but when I try to install it
on a "normal" windows machine it generates the "Failed to create empty document" error and exits.
The error occurs in the MyProgDoc::OnNewDocument() call to the CDocument::OnNewDocument()
funktion.. WHY??
I've tested a simple SDI program and it runs fine on both machines but this program generates the error.
The differece is that I use databases in the error prog.. but they are never used in the init of the prog/document...
What can I do about it.. any suggestions would be highly appriciated!
//Calle Lennartsson
Re: Failed to create empty document error...
"Failed to create empty document error... ", If not mistaken, I think this error may cause by licensing issue. When you create a simple SDI which is not using any active-X then you are able to run on your client machine. Email to me if you want to know more details.
Re: Failed to create empty document error...
Some times this problem is caused by an old version of comctl32.dll, you will find it in the
windows\system directory.
In the PC you are running the program look at the properties dialog in Windows Explorer, to
find the version number, compare it whith the version in the PC you have Visual Studio.
Update comctl32.dll if neccessary.
In my PC I have version: 5.80 because comctl32.dll was updated when I installed IE 5.
Download from the Microsoft site the update for comctl32.dll, which name is 401comupd.exe,
perhaps at the present there is a new one.
I hope this helps you, regards
jm_escardo
Re: Failed to create empty document error...
Wonderful!!
Thanks the comctl32.dll was the problem...
You just saved me alot of time .. THANKS!
//Calle
Re: Failed to create empty document error...
Hi i need more details about this...
devoloper in Betawave-India