Inspired by this articel:
https://github.com/davidbl/acadhelper/w ... o-AutoLISP
I tried similar from newLISP.exe to a running instance of autocad 2006
(I checked the exported function name with dependency walker.)
Code: Select all
newLISP v.10.4.0 on Win32 IPv4/6, execute 'newlisp -h' for more info.
> (import "C:\\Programme\\AutoCAD 2006\\acad.exe" "?acedEvaluateLisp@@YAHPBDAAPA
Uresbuf@@@Z" "cdecl")
?acedEvaluateLisp@@YAHPBDAAPAUresbuf@@@Z@11745F0
>
But when I try
Code: Select all
(setq resbuffer " ")
(?acedEvaluateLisp@@YAHPBDAAPAUresbuf@@@Z "(setq Test1 100)" resbuffer)
Any idea what can be wrong?
Regards
Hans-Peter