Page 1 of 1

import all functions of the dll at once?

Posted: Sun Sep 18, 2022 5:02 am
by caozb
In other LISP like scripting languages, you can usually import all functions of the dll at once. For example (importAll "user32. dll"). How can I implement this function in newlisp?

Re: import all functions of the dll at once?

Posted: Sun Sep 18, 2022 8:59 pm
by HPW
Hello,

I am not aware of a programming enviroment which can import all functions from a unknown DLL.
You must know which functions are exported from the DLL and the amount and type of parameters.
When it is your own DLL you can design an interface where a exported command can return that information to be able to import all in a loop.

Regards
Hans-Peter

Re: import all functions of the dll at once?

Posted: Fri Sep 23, 2022 1:17 pm
by caozb
The software exceeds the size allowed by the attachment. You can leave an email and I will send it to you for trial.

Re: import all functions of the dll at once?

Posted: Sat Sep 24, 2022 12:06 pm
by HPW
Hello,

Sorry, I can not offer direkt support nor will I try unknown software.
I had told some of my experience with DLL function import with newlisp.

Regards
Hans-Peter