
failure to create empty document
I have seen this problem as well and from what I have seen, it isn't a
problem in your code but in a Windows/VC++ 6.0 component (I'm not sure
which one). Here are the facts that I have found:
1) If you rebuild your program using VC++ 5.0, the problem will go away.
2) If you use VC++ 6.0 and install IE 4.0 or better, the problem will
go away.
I don't know if Win 98, Second Edition solves the problem. My opinion
(not based on fact) is that this particular bug demostrates the
downside of releasing OS components through IE.
Hope this helps,
Everett
Quote:
> > I can compile an execute my program within the Visual C++ 6.0
> > > environment, as a Win32-Debug or as a Win32-Release, but when I
try
> to
> > > execute it through my computer ... and the Release file, I get the
> > > "failure to create empty document" message. I am using Win95. I
> am
> > > using SDI with html/formview architecture. If someone has an idea
> of
> > > what I am doing wrong.
> > Thanks
> > Sent via Deja.com http://www.deja.com/
> > Share what you know. Learn what you don't.
> Why don't you step through the code in a debug session and see exactly
> where the trouble is located? In your InitInstance() start stepping
> INTO the ProcessShellCommand(cmdInfo) where your view and all are
> created.
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.