2013-08-07 22:54 UTC
Hi
I started to try LspLoad and Innosetup and made these steps:
- write a Lisp, include the ODCL-code
- the lisp has (simplfied):
(princ "hello")
(command "doslib")
(command "opendcl")
(defun c:test ()
(alert "test)
)
- compiled to "test.VLX"
- Used Innosetup for a package
- which copies VLX + LspLoad + OpenDCL runtime files + Doslib to an userdefined folder
- creates all registry-entries for "Applications" for (renamed) LspLoad + ODCL + Doslib
- LOADCTRLS is 4 - command invoke
To make it short - it works, but with a confusing error. Here is my (modified and translated) protocol
Command: test ----> this is my first command
Unknown Command "test"". Press F1 for help.
Command: ----> here Acad continues without new user-interaction
hello ----> this is from "princ"
doslib ----> this is from (command "doslib") plus autoload
DOSLib 9.0.1
Copyright © 1992-2012, Robert McNeel and Associates
DOSLib Loaded.
Command: opendcl ----> this is from (command "opendcl")
OpenDCL Runtime loaded
Command: ----> here ends the first command: everything loaded, nothing started and "unknown command" above
Command: test ----> this is my second command
4 ----> this is maybe the value of "loadctrls" (4)
Lisp is executed ...
So my questions are:
- Is it correct that the first command reports "unknown" and load everything?
- Is it possible that "first load" and "first execution" is done at the same time?
Thanks
Peter
I started to try LspLoad and Innosetup and made these steps:
- write a Lisp, include the ODCL-code
- the lisp has (simplfied):
(princ "hello")
(command "doslib")
(command "opendcl")
(defun c:test ()
(alert "test)
)
- compiled to "test.VLX"
- Used Innosetup for a package
- which copies VLX + LspLoad + OpenDCL runtime files + Doslib to an userdefined folder
- creates all registry-entries for "Applications" for (renamed) LspLoad + ODCL + Doslib
- LOADCTRLS is 4 - command invoke
To make it short - it works, but with a confusing error. Here is my (modified and translated) protocol
Command: test ----> this is my first command
Unknown Command "test"". Press F1 for help.
Command: ----> here Acad continues without new user-interaction
hello ----> this is from "princ"
doslib ----> this is from (command "doslib") plus autoload
DOSLib 9.0.1
Copyright © 1992-2012, Robert McNeel and Associates
DOSLib Loaded.
Command: opendcl ----> this is from (command "opendcl")
OpenDCL Runtime loaded
Command: ----> here ends the first command: everything loaded, nothing started and "unknown command" above
Command: test ----> this is my second command
4 ----> this is maybe the value of "loadctrls" (4)
Lisp is executed ...
So my questions are:
- Is it correct that the first command reports "unknown" and load everything?
- Is it possible that "first load" and "first execution" is done at the same time?
Thanks
Peter