Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
.NET
»
Topic:
Load assembly
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Load assembly (Read 1959 times)
0 Members and 1 Guest are viewing this topic.
Nima2018
Newt
Posts: 30
Load assembly
«
on:
April 15, 2018, 09:24:18 AM »
Hi dear members
Is it possible load and run an assembly by Autolisp code ?
Logged
n.yuan
Bull Frog
Posts: 348
Re: Load assembly
«
Reply #1 on:
April 15, 2018, 09:34:51 AM »
(command "._NETLOAD" "[path]\\MyAddinAssembly.dll")
Note: make sure the path is a trusted location, unless it is beneath "C;\Program files\" folder.
Logged
Nima2018
Newt
Posts: 30
Re: Load assembly
«
Reply #2 on:
April 15, 2018, 10:29:32 AM »
Thanks Yuan for reply , I was thinking about find file instead of writing path adress !
Logged
n.yuan
Bull Frog
Posts: 348
Re: Load assembly
«
Reply #3 on:
April 16, 2018, 10:16:07 AM »
Surely you can use FindFile:
(command "._NETLOAD" (FindFile "MyAddinAssembly.dll"))
You still need to make the folder of the DLL file "trusted", besides the folder being one of the support paths.
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
.NET
»
Topic:
Load assembly