newLISP Fan Club

Forum => newLISP in the real world => Topic started by: caozb on September 17, 2022, 10:02:18 PM

Title: import all functions of the dll at once?
Post by: caozb on September 17, 2022, 10:02:18 PM
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?
Title: Re: import all functions of the dll at once?
Post by: HPW on September 18, 2022, 01:59:32 PM
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
Title: Re: import all functions of the dll at once?
Post by: caozb on September 23, 2022, 06:17:56 AM
The software exceeds the size allowed by the attachment. You can leave an email and I will send it to you for trial.
Title: Re: import all functions of the dll at once?
Post by: HPW on September 24, 2022, 05:06:34 AM
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