Code Red > AutoLISP (Vanilla / Visual)
Netload and run dll at startup
Peter Guappa:
I'm completly stuck :-(
I have a dll (mytest.dll) with a commandmethod ("cmdtest")
When I paste (command "_netload" "C:\\Test\\mytest.dll") and (command "cmdtest") in the commandline it works!
When I create a lisp , appload and run it , it works!
(defun c:test ()
(command "_netload" "C:\\Test\\mytest.dll")
(command "cmdtest")
)
But when I copy these 2 lines into my S::STARTUP, it doesn't work !!! (everything else in my startup works just fine)
Offcourse I can use the lisp, but I want the dll to be loaded and RUN AT STARTUP without an extra command
I've been surfing theswamp whole night, tried almost everything I could find, but nothing seems to work.
Any suggestions? (did I do something wrong building it???)
Thanks !!!!!
Lee Mac:
http://www.theswamp.org/index.php?topic=31173.0;all
Peter Guappa:
Thx Lee,
Tried it, but I just can't manage to get it to work, maybe I'm just to tired and not thinking clearly.
ElpanovEvgeniy:
Another way to check the files lying in a folder and run them all.
Includes menu lisp. Net arx
Peter Guappa:
I used the lisp from Lee's link, and everything is imported into the registry.
When I run 'cmdtest' in the commandline it works, so I would think adding (command "cmdtest") in my startup, the dll would run automatically, but it doesn't. Or am I confused?
Navigation
[0] Message Index
[#] Next page
Go to full version