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
Author
Message
BastianPL View Drop Down
Groupie
Groupie
Avatar

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 Topic: CXTPFrameWnd::OnCreate fails
    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?


Bastian
Back to Top
Didi View Drop Down
Groupie
Groupie


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

Hi,
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.

Thanks,

Didi

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.