Compile time error for 'string.h'
-
Hello, I am compling one of the sample projects which I got after installing WMSDK. I am using VS2009 and I compiled the project from "C:\WMSDK\WMFSDK11\samples\Metadataedit" but getting error which tells that it's not getting declarations of some symbols/variables used in 'string.h'. I am confused thinking what setting am I missing ? can anybody please guide why I am getting those error ? Thanks in Advance. regards, Supriya
-
Hello, I am compling one of the sample projects which I got after installing WMSDK. I am using VS2009 and I compiled the project from "C:\WMSDK\WMFSDK11\samples\Metadataedit" but getting error which tells that it's not getting declarations of some symbols/variables used in 'string.h'. I am confused thinking what setting am I missing ? can anybody please guide why I am getting those error ? Thanks in Advance. regards, Supriya
Are you talking about std::string ? If yes, then you have to
#include
and not#include
. EDIT: BTW, it is in general usefull to provide the exact error message, and not your interpretation of the message.Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++ -
Are you talking about std::string ? If yes, then you have to
#include
and not#include
. EDIT: BTW, it is in general usefull to provide the exact error message, and not your interpretation of the message.Cédric Moonen Software developer
Charting control [v1.5] OpenGL game tutorial in C++sorry here are some of the errors.. 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : error C2065: '_MaxCount' : undeclared identifier 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : error C3861: '_Out_opt_bytecap_': identifier not found 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : error C2144: syntax error : 'void' should be preceded by ')' 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : warning C4229: anachronism used : modifiers on data are ignored 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : error C2059: syntax error : ')' Regards, Supriya
-
sorry here are some of the errors.. 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : error C2065: '_MaxCount' : undeclared identifier 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : error C3861: '_Out_opt_bytecap_': identifier not found 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : error C2144: syntax error : 'void' should be preceded by ')' 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : warning C4229: anachronism used : modifiers on data are ignored 1>c:\program files\microsoft visual studio 9.0\vc\include\string.h(48) : error C2059: syntax error : ')' Regards, Supriya
-
Hello, I am compling one of the sample projects which I got after installing WMSDK. I am using VS2009 and I compiled the project from "C:\WMSDK\WMFSDK11\samples\Metadataedit" but getting error which tells that it's not getting declarations of some symbols/variables used in 'string.h'. I am confused thinking what setting am I missing ? can anybody please guide why I am getting those error ? Thanks in Advance. regards, Supriya
Supriya Tonape wrote:
can anybody please guide why I am getting those error ?
Have you tried including
string
(instead ofstring.h
) instead?"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
Supriya Tonape wrote:
can anybody please guide why I am getting those error ?
Have you tried including
string
(instead ofstring.h
) instead?"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
Yes I had tried that. (sorry for late reply, I cudnt check mails.) Regards, Supriya.