如何解决错误C2059 [英] How to resolve error C2059
本文介绍了如何解决错误C2059的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
我正在使用VS 2005
每当我编译我的代码时得到错误:
错误C2059:语法错误:'',''C:\Program Files \ Microsoft Visual Studio 8 \ VC \ include \ comip.h 49
有人解释了这个错误,为什么会发生这个错误很多次。
这是代码:
Hi friends,
I am using VS 2005
Whenever I am compiling my code I got the error as :
error C2059: syntax error : '','' C:\Program Files\Microsoft Visual Studio 8\VC\include\comip.h 49
Anybody explain me this error why it occurred and this error comes many time.
Here is the code:
VTLogLibrary::ILogsPtr pILogs(__uuidof(VTLogLibrary::Logs));
m_pILogs = pILogs;
hr = m_pILogs->InitializeLog(_bstr_t(strIPAddress), _bstr_t(strSystemName), VTLogLibrary::ApplicationID::ApplicationID_Capture, _bstr_t(strFileName), _bstr_t(strLogFilePath),
VTLogLibrary::BackUpType::BackUpType_Daily);
请帮我解决这个问题。
谢谢
Please help me to resolve this.
Thanks
推荐答案
http://msdn.microsoft.com/en-us/library/t8xe60cf(v = vs.80).aspx [ ^ ]
这篇关于如何解决错误C2059的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文