Re: error compiling tutorial plugin
- From: "Bogdan Crivat [MSFT]" <bogdanc@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 13:14:16 -0800
It seems that you are using a very old version of the sample. The warnings
were fixed before the release of SQL Server 2005, and the errors suggest
that the project does not include the apropriate ATL headers.
You should download the latest version from
http://www.sqlserverdatamining.com/dmcommunity/_downloads/2384.aspx
Please let us know if you run into any othe problems
--
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. It is for newsgroup
purposes only.
thanks,
bogdan
<anonymous_user@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:88a37c82-0a44-4ce5-aafa-b3f555eb7bce@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> What error messages did you get?
>> In general, it should work fine with Visual C++ 2005.
>> --
>> thanks,
>> bogdan
>>
>
> Thanks for your attention.
>
> To avoid interference, I have started from scratch in a new partition and
> have installed:
>
> Windows XP SP2,
> Visual C++ 2005 Express,
> Windows® Server 2003 SP1 Platform SDK,
> SQL Server 2005 Trial
> The last tutorial plugin
>
> I have compiled the CompletedDemo solution.
>
> The 9 error and 4 warning messages are:
> c:\program files\microsoft platform sdk\include\atl\atlbase.h(513) :
> warning C4996: '_vsnprintf' was declared deprecated
> c:\program files\microsoft visual studio 8\vc\include\stdio.h(339)
> : see declaration of '_vsnprintf'
> Message: 'This function or variable may be unsafe. Consider using
> _vsnprintf_s instead. To disable deprecation, use
> _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> c:\program files\microsoft platform sdk\include\atl\atlbase.h(537) :
> warning C4996: '_vsnprintf' was declared deprecated
> c:\program files\microsoft visual studio 8\vc\include\stdio.h(339)
> : see declaration of '_vsnprintf'
> Message: 'This function or variable may be unsafe. Consider using
> _vsnprintf_s instead. To disable deprecation, use
> _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> c:\program files\microsoft platform sdk\include\atl\atlbase.h(561) :
> warning C4996: '_vsnwprintf' was declared deprecated
> c:\program files\microsoft visual studio 8\vc\include\stdio.h(450)
> : see declaration of '_vsnwprintf'
> Message: 'This function or variable may be unsafe. Consider using
> _vsnwprintf_s instead. To disable deprecation, use
> _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> c:\program files\microsoft platform sdk\include\atl\atlbase.h(584) :
> warning C4996: '_vsnwprintf' was declared deprecated
> c:\program files\microsoft visual studio 8\vc\include\stdio.h(450)
> : see declaration of '_vsnwprintf'
> Message: 'This function or variable may be unsafe. Consider using
> _vsnwprintf_s instead. To disable deprecation, use
> _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3242) : error
> C2065: '_Module' : undeclared identifier
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3242) : error
> C2228: left of '.Lock' must have class/struct/union
> type is ''unknown-type''
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3244) : error
> C2228: left of '.Unlock' must have class/struct/union
> type is ''unknown-type''
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3366) : error
> C2228: left of '.CreateInstance' must have class/struct/union
> type is ''unknown-type''
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3373) : error
> C2228: left of '.Lock' must have class/struct/union
> type is ''unknown-type''
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3375) : error
> C2228: left of '.Unlock' must have class/struct/union
> type is ''unknown-type''
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3641) : error
> C2228: left of '.m_csTypeInfoHolder' must have class/struct/union
> type is ''unknown-type''
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3658) : error
> C2228: left of '.AddTermFunc' must have class/struct/union
> type is ''unknown-type''
> c:\program files\microsoft platform sdk\include\atl\atlcom.h(3667) : error
> C2228: left of '.m_csTypeInfoHolder' must have class/struct/union
> type is ''unknown-type''
.
- References:
- error compiling tutorial plugin
- From: anonymous_user@xxxxxxxxxxxxxxxxxxxxxxx
- Re: error compiling tutorial plugin
- From: Bogdan Crivat [MSFT]
- Re: error compiling tutorial plugin
- From: anonymous_user@xxxxxxxxxxxxxxxxxxxxxxx
- error compiling tutorial plugin
- Prev by Date: Re: errors compiling the last tutorial plugin with Visual C++ 2005 Express
- Next by Date: Re: Clustering question
- Previous by thread: Re: error compiling tutorial plugin
- Next by thread: lift chart
- Index(es):
Relevant Pages
|