Hi all,
I have a program that automates AutoCAD 2000, it worked fine, but then I have installed a previous version (14), it causes and error in the following code:
CLSID clsid;
if :CLSIDFromProgID(OLESTR("AutoCAD.Application"), &clsid) != NOERROR) //Here is the error!!!
{
::AfxMessageBox(IDS_ERROR_ACAD);
return FALSE;
}
How can I specify one versión or another to 'CLSIDFromProgID()'. I'm using VC++ 6.00
Thanks in advance,
William G.S.
I have a program that automates AutoCAD 2000, it worked fine, but then I have installed a previous version (14), it causes and error in the following code:
CLSID clsid;
if :CLSIDFromProgID(OLESTR("AutoCAD.Application"), &clsid) != NOERROR) //Here is the error!!!
{
::AfxMessageBox(IDS_ERROR_ACAD);
return FALSE;
}
How can I specify one versión or another to 'CLSIDFromProgID()'. I'm using VC++ 6.00
Thanks in advance,
William G.S.