Hi,
If I was writing a program that's worth protecting I wouldn't be using
Sendcommand - or if it was essential - I'd leave it till last in the
execution chain.
Also, although I haven't installed 2006 yet, I heard rumours Autodesk have
modified it to allow code with sendcommand to end before moving on. Check
the documentation when you get it.
--
Laurie Comerford
CADApps
www.cadapps.com.au
wrote in message news:4815000@discussion.autodesk.com...
> When a command (sendcommand) is sent to AutoCAD from a dll, the dll is not
going to wait for the command to stop running. They are two different
processes. In fact, the dll will finish running before a command in AutoCAD
is executed. What if I wanted to use the results of sendcommand later in the
dll code? The only way I can do that is to know when the sendcommand is
finished executing and then continie running my code.
> That is basically why I need to know how to use reactors.
>
> Message was edited by: mgrigoriev