Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » ASSERT in extgridwnd.cpp Collapse All
Subject Author Date
Jeremy Ruth Apr 1, 2009 - 6:27 PM

I am ASSERTing at the following spot in extgridwnd.cpp:

 m_hCursorResizingH = 
 ASSERT( m_hCursorResizingH != NULL );

 This occurred when I changed my project to link statically and have followed all the directions in doing so:

- I added the following code to my .rc2 file:

#if ( !(defined _AFXDLL && !defined __STATPROFUIS_WITH_DLLMFC__) )  #include <Resources/Resource.rc> #endif

- I added the ..\prof-UIS\Include folder to the Additional Include Directories option of the resources project properties

- I added __STATPROFUIS_WITH_DLLMFC__ to both the C/C++ preprocessor definitions and the resource preprocessor definitions.


I have just done this same process to another project that also uses a gridwnd and it works fine.  So the question is: what other things can cause this assertion? 

I don’t know if this matters, but the project that works fine is an SDI app while the project with the issues is an MDI app.

Technical Support Apr 2, 2009 - 5:19 AM

Everything you are doing is correct. Could you send us a test project demonstrating this issue?

Jeremy Ruth Apr 7, 2009 - 8:35 PM

Unfortunately, the project that I am having trouble with is too dependent on other projects and code that I can’t send.  The folder structure is such that it does not make for very good portability.

Is there any other thing that may cause this assertion?

Technical Support Apr 8, 2009 - 6:42 AM

We had the same customer report related to Prof-UIS 2.84 and this issue had gone when he switched to the current 2.85 pre-release version. We reorganized the resource identifiers in 2.85 and the problem has gone. Please request the latest source code via email.