Re: errors compiling the last tutorial plugin with Visual C++ 2005 Express
- From: "Bogdan Crivat [MSFT]" <bogdanc@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 13:13:57 -0800
Hello, Claudio
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:047c4c2d-f2d9-4691-893c-c7b9e6d3a0bc@xxxxxxxxxxxxxxxxxxxxxxx
> Can I build and use the last tutorial plugin using Visual C++ 2005
> Express, Windows XP SP2, Windows® Server 2003 SP1 Platform SDK and SQL
> Server 2005 Trial?
>
> claudio
>
> I'm asking because I received several error messages while compiling the
> last tutorial.
>
> 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''
.
- Follow-Ups:
- Re: errors compiling the last tutorial plugin with Visual C++ 2005
- From: Claudio Luiz Curotto
- Re: errors compiling the last tutorial plugin with Visual C++ 2005
- References:
- errors compiling the last tutorial plugin with Visual C++ 2005 Express
- From: anonymous_user@xxxxxxxxxxxxxxxxxxxxxxx
- errors compiling the last tutorial plugin with Visual C++ 2005 Express
- Prev by Date: errors compiling the last tutorial plugin with Visual C++ 2005 Express
- Next by Date: Re: error compiling tutorial plugin
- Previous by thread: errors compiling the last tutorial plugin with Visual C++ 2005 Express
- Next by thread: Re: errors compiling the last tutorial plugin with Visual C++ 2005
- Index(es):
Relevant Pages
|