Message 1 of 4
undeclared identifier error when using ACRX_T
Not applicable
10-04-2007
01:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm converting an application (created with VS2002) that works with AutoCAD 2006 to work with AutoCAD 2007 and I also switched to VS2005.
I got error C2664: 'AcDbPlotSettings::getPlotCfgName' : cannot convert parameter 1 from 'const char *' to 'const ACHAR *&'
So I added ACRX_T like so:
const char* plotCfgchar;
pPlotSettings->getPlotCfgName( ACRX_T(plotCfgchar) );
But now I get a different error:
error C2065: 'LplotCfgchar' : undeclared identifier
Any idea what the solution is?
Thanks
I got error C2664: 'AcDbPlotSettings::getPlotCfgName' : cannot convert parameter 1 from 'const char *' to 'const ACHAR *&'
So I added ACRX_T like so:
const char* plotCfgchar;
pPlotSettings->getPlotCfgName( ACRX_T(plotCfgchar) );
But now I get a different error:
error C2065: 'LplotCfgchar' : undeclared identifier
Any idea what the solution is?
Thanks