sorry if I'm posting into wrong forum.
I'm trying to automate DWG TrueView to print my files using my c++ application. I noticed that it comes with COM interface.
here is my code:
lHr = CLSIDFromProgID(_T("AutoCAD.Application.19"), &clsid);
lHr = lApplicationDisp.CreateInstance(clsid);
Looks like I got the right clsid, but CreateInstance hangs for a while and then returns "Server execution failed" error. Do you know why? Is that even possible to do?
Access a broad range of knowledge to help get the most out of your products and services.