Assertion in WinNt 4.0 but not in Win95 (CPropertyPage)
Posted on 1997-08-18
I have developed an application in VC ++ 4.0 in Win 95. My application uses CPropertySheet and CPropertPage to implement a Wizard. When I build the proyect for first time an Assertion rises, but this only occurs the first time and it is not a problem. Up to this point everything is normal.
(It is documented in VC++ that the operative system
handles the assertion and it must be ignored. The assertion cause is that the propertypage resource is read only, and the program is trying to write on it.)
The problem comes when I tried to rebuild and execute the same code in Win NT 4.0. Then, at the same point arises a Debug Assertion Failed (in dlgdata.cpp Line 575),
but this assertion occurs always and I can not get rid of it.
The assertion fails when I press the next buttom in the first page of the Wizard.
Could you help me!!! A solution could be to change a read only resource to read and write, but I don't know how. (?????????????)