Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - CXTPFrameWnd::OnCreate fails
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPFrameWnd::OnCreate fails

 Post Reply Post Reply
Message Reverse Sort Order
Didi View Drop Down

Joined: 05 July 2013
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Didi Quote  Post ReplyReply Direct Link To This Post Topic: CXTPFrameWnd::OnCreate fails
    Posted: 18 June 2014 at 9:46am

I know, this thread is very old. Wink
But knows anybody a good solution for this problem? I get it sporadically and I don’t know why. Only at about every tenth start the program crashes with
Bastian's error.




Back to Top
BastianPL View Drop Down

Joined: 15 April 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote BastianPL Quote  Post ReplyReply Direct Link To This Post Posted: 04 December 2011 at 5:39am
Hope anyone can help me.

I've just installed VS2010 on my machine and reinstalled XTP.
Project builds fine, but once started I've got an assertion in CXTPFrameWnd::OnCreate.
which stops at:

 AFX_ISOLATIONAWARE_STATICLINK_FUNC(HWND ,CreateWindowExA,(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam),(dwExStyle,lpClassName,lpWindowName,dwStyle,X,Y,nWidth,nHeight,hWndParent,hMenu,hInstance,lpParam),NULL)

I've checked differencies with sample XTP projects in MainFrame, Application cpp, and stdafx and cant find any reason why this may fail?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.109 seconds.