I had the idea to provide a function for newLISP.dll from that DLL which calls the newLISP.dll first. So is it possible to start a DLL, which imports the 'newlispEvalStr' and then start a newlisp function which trys to import a function from the first DLL? The idea is not to have a seperate DLL with utility functions, instead to have it all in one DLL?
Just made a little test. It seems to work, but it seems that it loads a second instance of the DLL into the newLISP memory. Have to do further tests.
For seperated utility function, the second instance seems to work.
This would be one use of this technic.
I get it finally to work in my upcoming next hpwNewLISP plugin.
I am now able to import a function from my running wrapper plugin
into the newLISP.dll and call the script-processor of neobook directly
from newLISP.
That seems to offer another cool function for neobook/newLISP user.
Made me a happy day!
;-)
In the latest release of my newLISP-demo I have a modified neoTurtle.lsp with the alternative scripting. A timer shows speed improvments factor >20.
;-)