Choosing the correct DDE server name from multiple instances of acadlt

Choosing the correct DDE server name from multiple instances of acadlt

edgars_miskins
Advocate Advocate
1,009 Views
2 Replies
Message 1 of 3

Choosing the correct DDE server name from multiple instances of acadlt

edgars_miskins
Advocate
Advocate

Sorry. This might be a very niche question only for those few people who are tinkering with sending commands to AutoCAD LT via DDE.

I am using ndde library to send commands from my .net application to AutoCAD LT.
In order to do this, one must first connect to AutoCAD's dde service. The dde server name for AutoCAD LT is "AutoCAD LT.dee".

The problem arises if there are multiple instances of AutoCAD LT open at the same time. All of the acadlt instances will have the same dde server name.
In such case, the ndde connect function will always connect to the most recently created dde server (which might not be the desired effect in all cases)

Is it possible to somehow differentiate and choose a specific AutoCAD LT.dee server to connect to?
Alternatively, how do you resolve this multiple-acadlt-instance issue?

 

0 Likes
1,010 Views
2 Replies
Replies (2)
Message 2 of 3

edgars_miskins
Advocate
Advocate

How did this end up in "Installation & Licensing"? I was completely sure I posted it in the correct category.
Well, my bad, I guess.
Can a moderator please move this to the appropriate forum? (there seems to be some sort of time-out, since I can't edit this anymore)
I apologize for the inconvenience.

0 Likes
Message 3 of 3

Mark.Lancaster
Consultant
Consultant

@edgars_miskins

 

I'm thinking this posting needs to be in AutoCAD Customization forum.   The actual LT forum is not really going to work

 

https://forums.autodesk.com/t5/visual-basic-customization/bd-p/33

 

Just saying have a moderator relocate is not going to work either..  Use the report button and just indicate it.  But I will have the moderator relocate it.

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes