Document creation failure. 
Author Message
 Document creation failure.

I am running into an interesting situation.  I have a group of apps that I
have writen using the docview arch.  All these apps run fine until I attempt
to run them on two win95 systems that I have.  I get a "Failed to create
empty document."  I can run these same apps on other win95 systems, all of
which are home grown.

If any one has any insight to this, I would very much appreciate their
input.

Thanks in advance,
Nicholas Twerdochlib



Mon, 31 Jul 2000 03:00:00 GMT  
 Document creation failure.

Hi Nicholas,

I'm not sure what the difference is when it works and when it does not work, but
I expect that you ran into resource problems.

Quote:

> I am running into an interesting situation.  I have a group of apps that I
> have writen using the docview arch.  All these apps run fine until I attempt
> to run them on two win95 systems that I have.  I get a "Failed to create
> empty document."  I can run these same apps on other win95 systems, all of
> which are home grown.

> If any one has any insight to this, I would very much appreciate their
> input.

> Thanks in advance,
> Nicholas Twerdochlib

--
Rob Goudvis




Mon, 31 Jul 2000 03:00:00 GMT  
 Document creation failure.

Quote:

> I am running into an interesting situation.  I have a group of apps that I
> have writen using the docview arch.  All these apps run fine until I attempt
> to run them on two win95 systems that I have.  I get a "Failed to create
> empty document."  I can run these same apps on other win95 systems, all of
> which are home grown.

This message can be misleading because one of the most frequent causes of it
is actually a failure to create the default view that's attached to the
document.  If you are using a CFormView (or CRecordView), or any kind of
ActiveX control, make sure it is installed and properly registered on those
systems.  If it isn't, that can cause the view create to fail, which can cause
the document create to fail, .... etc.

Jim [VC/MFC MVP]
To send mail, change spam-me-not to msn



Mon, 31 Jul 2000 03:00:00 GMT  
 Document creation failure.

This is why de{*filter*}s were invented.  Step throught the MFC code until
you see something returning an error.  At that point, the *real* cause
of the problem should be explicable, and you can try to figure out why
it failed.  The problem with the "Failed to create empty document"
message is that there are lots of different potential causes, and the
message unfortunately does not give you enough information to figure
out which one it was.
                                joe

On Thu, 12 Feb 1998 13:13:53 +0100, Rob Goudvis

Quote:

>Hi Nicholas,

>I'm not sure what the difference is when it works and when it does not work, but
>I expect that you ran into resource problems.


>> I am running into an interesting situation.  I have a group of apps that I
>> have writen using the docview arch.  All these apps run fine until I attempt
>> to run them on two win95 systems that I have.  I get a "Failed to create
>> empty document."  I can run these same apps on other win95 systems, all of
>> which are home grown.

>> If any one has any insight to this, I would very much appreciate their
>> input.

>> Thanks in advance,
>> Nicholas Twerdochlib

Joseph M. Newcomer

http://www.*-*-*.com/ ~newcomer


Wed, 02 Aug 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Document creation failure.

2. CSocket creation failure

3. Palette creation failure....................

4. Creation failure with CImageList.....What the...???

5. CBitmap creation failure

6. Palette creation failure....................

7. WebBrowser Creation Failure!

8. failure opening an empty document

9. failure till opening a empty document

10. failure to create empty document

11. Prevent certain document open failures from removing MRU

12. Q:Create new document failure

 

 
Powered by phpBB® Forum Software