You're making a UNICODE build for AutoCAD 2007 ?
If so, you must use the _T() macro for literal strings:
acedGetVar(_T("VIEWSIZE"), &view).;
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
"Peter Hibbe"
wrote in message news:5137106@discussion.autodesk.com...
Hello,
I have open a c++ AutoCAD 2004 Project in Visual Studio 2005.
I got the following warning message:
in Code Line:
acedGetVar("VIEWSIZE", &view);
Fehler 1 error C2664: 'acedGetVar': Konvertierung des Parameters 1 von
'const char [9]' in 'const ACHAR *' nicht möglich
c:\Projekts\MyApp\StdAfx.cpp 356
I have no Idea how to fix this error. Can you help me ?
Regards
Peter