Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

test if vb.net function is loaded

1 REPLY 1
Reply
Message 1 of 2
kemp77
388 Views, 1 Reply

test if vb.net function is loaded

Is there a simple way to test and see if a simple dll I created using vb.net is loaded in the current drawing?

 

The following obviously wont work, but this is the basic structure of what I have in mind...

(if (not vba-routines.dlll)

  (func1)

  (func2)

)

1 REPLY 1
Message 2 of 2
dgorsman
in reply to: kemp77

If the DLL is defining LSP functions, you can test for the presence of function "myLSPFunction" as (if myLSPFunction (progn (blah)...)).  If not, you could add a simple information LSP function to the DLL to accomplish the same thing while returning a version number or some other useful information.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


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

Post to forums  

Autodesk Design & Make Report

”Boost