AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Load the dll automatically when autocad starts

1 REPLY 1
Reply
Message 1 of 2
giskumar
940 Views, 1 Reply

Load the dll automatically when autocad starts

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.

 

 

 

1 REPLY 1
Message 2 of 2
Alfred.NESWADBA
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 ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost