Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » compile errors with evaluation version Collapse All
Subject Author Date
Jeremy Ruth Dec 22, 2006 - 3:49 PM

I want to try adding a toolbar to an existing application, but am not able to get a clean compile. I have added an include for <prof-uis.h> to stdafx.h. I have added the Prof-uis include folders to the visual studio directory options as described in the build configuration directions.

When I build, I get the following (very curious) compile errors:
c:\program files\microsoft visual studio\vc98\mfc\include\afxctl.h(1177) : warning C4002: too many actual parameters for macro ’Freeze’
c:\program files\microsoft visual studio\vc98\mfc\include\afxctl.h(1177) : error C2059: syntax error : ’constant’
c:\program files\microsoft visual studio\vc98\mfc\include\afxctl.h(1188) : error C2259: ’XViewObject’ : cannot instantiate abstract class due to following members:
c:\program files\microsoft visual studio\vc98\mfc\include\afxctl.h(1171) : see declaration of ’XViewObject’
c:\program files\microsoft visual studio\vc98\mfc\include\afxctl.h(1188) : warning C4259: ’long __stdcall IViewObject::Freeze(unsigned long,long,void *,unsigned long *)’ : pure virtual function was not defined
c:\program files\microsoft visual studio\vc98\include\oleidl.h(3978) : see declaration of ’Freeze’
Error executing cl.exe.

I was able to build some of the samples just fine, so I am pretty sure I have the proper setup. This error just doesn’t make sense.
Any ideas?

Thanks,
Jeremy

Technical Support Dec 28, 2006 - 8:10 AM

Please check the Include folders list in your Visual Studio settings. The Platform SDK paths should be moved to the bottom of the list. If this does not help, let us take a look at the content of your StdAfx.h file.

Jeremy Ruth Dec 29, 2006 - 9:33 AM

Thanks for the response...it got me going in the right direction.

I am interfacing with another 3rd party application and one of their #include’s has a ’Freeze’ definition that was previously defined differently.