Importing function from calling DLL?

Started by HPW, December 03, 2004, 11:36:17 AM

Previous topic - Next topic

HPW

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?
Hans-Peter

HPW

#1
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.
Hans-Peter

HPW

#2
For seperated utility function, the second instance seems to work.

This would be one use of this technic.
Hans-Peter

HPW

#3
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!

;-)
Hans-Peter

HPW

#4
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.



;-)
Hans-Peter