|
|
|
|
Forum
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.
Subject |
Author |
Date |
|
M Priya
|
Aug 11, 2007 - 8:11 PM
|
I am getting a memory fault in the following code when I try to use the property sheet: Works fine with just MFC property sheet. I replaced CPropertySheet with CExtResizablePropertySheet everywhere. No other changes. Please advise.
inline void __EXT_MFC_MEMCPY( void * dest, size_t sizeInBytes, const void * src, size_t count ) { #if _MFC_VER >= 0x0800 memcpy_s( dest, sizeInBytes, src, count ); #else memcpy( dest, src, count ); sizeInBytes; #endif }
|
|
Technical Support
|
Aug 12, 2007 - 10:40 AM
|
You said you had replaced CPropertySheet with CExtResizablePropertySheet . Did you also replace CPropertyPage with CExtResizablePropertyPage ?
|
|
M Priya
|
Aug 12, 2007 - 1:10 PM
|
Yes, I tried with both. Using only CExtResizablePropertySheet and using CExtResizablePropertySheet. with CExtResizablePropertyPage. However, I have not yet tried to replace *all* instances of CPropertyPage with CExtResizablePropertyPage, just the first. I wanted to get a look before I did all of them. Should I try replacing all of them? It is a quite bit of work, so I hesitated.
|
|
Technical Support
|
Aug 12, 2007 - 1:20 PM
|
You should replace all instances otherwise it won’t work.
|
|
M Priya
|
Aug 12, 2007 - 5:16 PM
|
I tried that. It is now working better. However, the title and subtitle on the pages are not appearing (in Wizard mode).
|
|