Hello,
I am trying to compile sample application and it gives me the following
c:projectsqtwebserver_urlcontent_filterndisapi.h(34) : error C2440: ‘default argument’ : cannot convert from ‘const char [7]’ to ‘const TCHAR *’
// COMPILE PARAMETERS:
cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DWIN64 -DQT_NO_DEBUG -DQT_CORE_LIB -DNDEBUG -I”……WinpkFilterkernelbindlli386″ -I”……QtQt5.1.05.1.0msvc2012_64include” -I”……QtQt5.1.05.1.0msvc2012_64includeQtCore” -I”release” -I”……QtQt5.1.05.1.0msvc2012_64mkspecswin32-msvc2012″ -Forelease @C:UsersADMINI~1AppDataLocalTempStdAfx.obj.8032.16.jom
StdAfx.cpp
// ERROR PART
// This class is exported from the ndisapi.dll
class NDISAPI_API CNdisApi
{
public:
CNdisApi (const TCHAR* pszFileName = _T(DRIVER_NAME_A));
//CNdisApi (const TCHAR* pszFileName = (DRIVER_NAME_A);
virtual ~CNdisApi ();
How can fix this ndisapi.h?