import all functions of the dll at once?

Q&A's, tips, howto's
Locked
caozb
Posts: 2
Joined: Fri May 02, 2014 2:10 pm

import all functions of the dll at once?

Post 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?
Attachments
1.png
1.png (130.01 KiB) Viewed 708 times

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Re: import all functions of the dll at once?

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

caozb
Posts: 2
Joined: Fri May 02, 2014 2:10 pm

Re: import all functions of the dll at once?

Post 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.

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Re: import all functions of the dll at once?

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

Locked