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 » Bug in CExtCustomizeSite::EnableCustomization Collapse All
Subject Author Date
Sergio Buonanno Jan 18, 2007 - 12:43 AM

If I build my application in Release for platform x64 and I run it under Windows Vista 64bit the method CExtCustomizeSite::EnableCustomization inside CMainFrame::OnCreate returns false. What should I do to fix it ?

Sergio Buonanno Jan 18, 2007 - 12:49 AM

I forgot to specify that I’m using Prof-UIS ver. 2.63.2

Technical Support Jan 19, 2007 - 3:15 AM

We can guess you may have simply forgotten to invoke ::AfxOleInit() before creating the main frame window which caused that toolbar windows cannot be registered as OLE drop targets. You can step into the CExtCustomizeSite::EnableCustomization() method in debug mode and find out what causes it to return a bad result.

Sergio Buonanno Jan 19, 2007 - 3:19 AM

As I’ve already written above the problem appears in Release configuration only. I’ve found the location of the problem because I added debug info to the release configuration.

Technical Support Jan 19, 2007 - 5:00 AM

You can turn on the debug information generation options for the release configuration of your project both in its compiler and linker settings and debug your release version to clarify what is the source of the problem.