failure to create empty document 
Author Message
 failure to create empty document

I can compile an execute my program within the Visual C++ 6.0

Quote:
> 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.*-*-*.com/
Share what you know. Learn what you don't.



Thu, 21 Feb 2002 03:00:00 GMT  
 failure to create empty document
I had this problem when I was using a CReBar and the problem was that I
didn't have a recent version of Internet explorer installed. I think I had
3.02.

Anyway I used the CToolBar without the use of a CReBar and that worked fine.

Richard Williams

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.



Fri, 22 Feb 2002 03:00:00 GMT  
 failure to create empty document

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.



Fri, 22 Feb 2002 03:00:00 GMT  
 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.


Sat, 23 Feb 2002 03:00:00 GMT  
 failure to create empty document
This error usually occurs because you forget to initialize the RichEdit
control in your App's OnInitInstance() method. Call     AfxInitRichEdit()
and that should do it, unless you're using RichEdit 2.0, then you need to do
the AfxLoadLibrary("RICHED20.DLL") to make it happen.

--

Bob Cozzi
www.rpgiv.com

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.



Tue, 26 Feb 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. failure opening an empty document

2. failure till opening a empty document

3. App created with VC6 won't run on NT4 SP3 (failed to create empty document)

4. Failed to create empty document

5. "Failed to create empty document"

6. Failed to create empty document ??

7. Failed to create empty document !

8. failed to create empty document

9. Failed to create empty document

10. error failed to create empty document

11. "Failed to create empty document."

12. Failed to create empty document.

 

 
Powered by phpBB® Forum Software