try to change statement
using namespace Qqest.TimeForce.Facade;
to
using namespace Qqest::TimeForce::Facade;
Question
I'm trying to call a c# managed assembly Qqest.TimeForce.Facade.dll, from c++ code, and my class looks like the following:
#include "stdafx.h"
#using <mscorlib.dll>
#using "Qqest.TimeForce.Facade.dll"
using namespace Qqest.TimeForce.Facade;
void CreateOdcEmployeeTemplateWrapMethod(int employeeId, int templateType)
{
Qqest.TimeForce.Facade::WebFacade::CreateOdcEmployeeTemplate(employeeId, templateType);
}
The compiler is complaining about line 5, I don't think it likes the periods in the namespace, but I don't know a way around this.
EDIT: Sorry, here is the exact error: "error C2059: syntax error : '.'" on line 5
Any help would be appreciated!
Solution
try to change statement
using namespace Qqest.TimeForce.Facade;
to
using namespace Qqest::TimeForce::Facade;