Choosing the correct DDE server name from multiple instances of acadlt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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?