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 » property grids Collapse All
Subject Author Date
morten nielsen Feb 17, 2009 - 3:36 AM


I have tried using the example code from;/p>

In-house we use the __STATPROFUIS_WITH_DLLMFC__ preprocessor define. So adding this makes the solution build with ProfUIS282ymd.lib.

Running the program in release mode works, but in debug mode I get an assertion failed in extpropertygridwnd.cpp line 9642.

Do you have an updated example or suggestions as to what goes wrong.



PS. I use prof-uis versions 2.83 and 2.84. OS is windows XP

Takis Takoglou Feb 18, 2009 - 8:05 AM

I had the same problem and solved it by temporarily (just for the example) making the protected members public.

The example worked perfectly after that.

morten nielsen Feb 18, 2009 - 1:30 AM

I have tried compilind the new source files, but I get the following error 7 times (both with version 2.83 and 2.84)

c:\...\SimpleProperties1(SingleObject)\MyStatic.cpp(69) : error C2248: ’CExtGridCellColor::m_PackedColor’ : cannot access protected member declared in class ’CExtGridCellColor’

        c:\Perforce\3rdParty\Prof-UIS\2.83\Include\ExtGridWnd.h(6890) : see declaration of ’CExtGridCellColor::m_PackedColor’

        c:\Perforce\3rdParty\Prof-UIS\2.83\Include\ExtGridWnd.h(6614) : see declaration of ’CExtGridCellColor’


One of the lines in question is in MyStatic.cpp on line 69-71

        pValue->m_PackedColor.SetColor( m_pStatic->TextColorGet() );


I use MS visual studio version 2003 (7.1.6030)



Technical Support Feb 19, 2009 - 4:03 AM

Please download the updated version of sample applications from the following URL:

Technical Support Feb 17, 2009 - 1:59 PM

The ZIP file which can be downloaded from the link at the top of this article contains sample project written long time ago when the static Prof-UIS versions was not based on resources. To fix this issue please re-download the updated version of this ZIP file from the same URL:

We updated the projects inside this ZIP file. We added the manifest resources and Prof-UIS resource references into the .rc2 files. We also added /Zm512 compiler options which are required by Prof-UIS 2.84.