AutoCAD Map 3D Developer

AutoCAD Map 3D Developer

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

Load the dll automatically when autocad starts

636 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: 9,610
Registered: ‎06-29-2007
Message 2 of 2 (632 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
-------------------------------------------------------------------------
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.