.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

event fires twice

1 REPLY 1
Reply
Message 1 of 2
rtejada
218 Views, 1 Reply

event fires twice

I am runing a dot net class application (dll extension) automatically when the autocad application start by adding a following lines on the acaddoc.lsp file

(defun S::STARTUP()
(command "NETLOAD" "d:\\My Documents\\Visual Studio Projects\\myapp\\bin\\myapp.dll")
)


My problem is that drawing events in the application like begindocclose are executed twice instead of once.

Can it be avoided?

Thanks for your help
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: rtejada

If events are firing more than once, it is most
likely a problem in your code, probably adding
the handler more than once.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:4972410@discussion.autodesk.com...
I am runing a dot net class application (dll extension) automatically when the autocad application start by adding a following lines on the acaddoc.lsp file

(defun S::STARTUP()
(command "NETLOAD" "d:\\My Documents\\Visual Studio Projects\\myapp\\bin\\myapp.dll")
)


My problem is that drawing events in the application like begindocclose are executed twice instead of once.

Can it be avoided?

Thanks for your help

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost