Click here to Skip to main content
15,867,771 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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:

C++
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
Posted
Updated 2-May-13 5:04am
v2
Comments
Sergey Alexandrovich Kryukov 2-May-13 9:38am    
What prevents you from reading about this error in MSDN? Visual Studio points on the line with the error (hopefully, it could or related line :-), so you can locate the problem. But you didn't show this fragment of code, so how do you think we can help you?
—SA

1 solution

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-May-13 9:36am    
Fair enough, a 5.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900