Empty Doc
-
When I tried to run my Dialog based application .. i Got the error message - Failed to create empty Document... Why is it so
Proud To Be an Indian
vivekphlp wrote:
When I tried to run my Dialog based application
Are you sure that it's dialog based? That message usually only is seen for SDI or MDI apps.
Best wishes, Hans
[CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]
-
vivekphlp wrote:
When I tried to run my Dialog based application
Are you sure that it's dialog based? That message usually only is seen for SDI or MDI apps.
Best wishes, Hans
[CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]
-
Hi, I think some where near your View creation fails. Check for OnCreate,... return -1; This happens when the document is created with no views. Best Regards Raj
-
Hi, I think some where near your View creation fails. Check for OnCreate,... return -1; This happens when the document is created with no views. Best Regards Raj
-
yes -1 is returned . but i dont understand that how no view is created...
Proud To Be an Indian
Hi, What I meant is check whether the code hits on "return -1;" like statement upon execution. ie; Your View creation may not be successfull, You may debug/review the code, this is only a hint. May be, you have overrided your frame window OnCreateClient and its baseclass is not called, causing it to create no view. Best Regards, Raj
-
Hi, What I meant is check whether the code hits on "return -1;" like statement upon execution. ie; Your View creation may not be successfull, You may debug/review the code, this is only a hint. May be, you have overrided your frame window OnCreateClient and its baseclass is not called, causing it to create no view. Best Regards, Raj