AutoCAD Map 3D Developer

AutoCAD Map 3D Developer

Reply
Active Contributor
giskumar
Posts: 44
Registered: ‎12-06-2010
Message 1 of 2 (568 Views)

Load the dll automatically when autocad starts

568 Views, 1 Replies
01-08-2013 04:36 AM

Hi All,

 

In autocad 2010, I would like to load a dll at autocad startup. 

My dll file is located in ..User/Application Data/ folder. 

I have tried below code to do the same but failed.

 

[DllImport("acad.exe", CharSet = CharSet.Auto, CallingConvention = CallingConvention.Cdecl)]
extern static private int ads_queueexpr(string strExpr);

 

Please guide me how to resolve this issue.

 

Thanks,

Kumar.

 

 

 

*Expert Elite*
Alfred.NESWADBA
Posts: 8,983
Registered: ‎06-29-2007
Message 2 of 2 (564 Views)

Re: Load the dll automatically when autocad starts

01-08-2013 05:28 AM in reply to: giskumar

Hi,

 

>> In autocad 2010, I would like to load a dll at autocad startup

check >>>that blog<<< from Kean Walmsley.

 

In newer versions (beginning with 2012) you can also use the plugin-technique.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.