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

a question in NETLOAD

4 REPLIES 4
Reply
Message 1 of 5
NKCAUTOCAD01
623 Views, 4 Replies

a question in NETLOAD

Spoiler
 

It is a question in NETLOAD

In ACAD.LSP
(command "NETLOAD" "C: \\NKCCAD\\NET_DLL\\LAYERDISP.dll")
(command "NETLOAD" "C: \\NKCCAD\\NET_DLL\\PASTE.dll")
I put and test command practice by AutoCAD.
LAYERDISP.dll comes in Load, but PASTE.dll cannot play Load.
I have it experimentally if I do it, and the problem does not have NETLOAD alone.
Is plural NETLOAD not made?
Please advise it.

4 REPLIES 4
Message 2 of 5
Hallex
in reply to: NKCAUTOCAD01

Try include full path of DLL include bin or Release folder

where this is stored

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Message 3 of 5


@NKCAUTOCAD01 wrote:

It is a question in NETLOAD

In ACAD.LSP
(command "NETLOAD" "C: \\NKCCAD\\NET_DLL\\LAYERDISP.dll")
(command "NETLOAD" "C: \\NKCCAD\\NET_DLL\\PASTE.dll")


It is look like that the path-string has blank symbol after C: which is wrong. Also I recommend change all "\\" with "/".

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

Message 4 of 5

Hi,

 

I agree with the space in the path string and the use of "/", but it doesn't explain the behavior of loading only the first dll, in that case no dll should be loaded, maybe  there is something else that is avoiding the load of the second one.

 

Gaston Nunez

 

 

Message 5 of 5

did you try to "manually" load your two dll see if it work?

did you try to load paste.dll before layerdisp.dll

 

Maybe your two dll have the same GUID? if is true, just change to GUID from your Visual Studio of one of your DLL and you won't to ask AutoCAD to load twice the same DLL.

 

by the way, i am just guessing....

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