How can I call a DLL from a scripting language?

后端 未结 5 1974
离开以前
离开以前 2020-12-31 15:37

I have a third-party product, a terminal emulator, which provides a DLL that can be linked to a C program to basically automate the driving of this product (send keystrokes,

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-31 16:35

    In Perl, P5NCI will also do that, at least in some cases. But it seems to me that anything you use that directly manages interfacing with the dll is going to be user-unfriendly, and if you are going to have a user (scriptor?) friendly wrapper, it might as well be an XS module.

    I guess I don't see a meaningful distinction between "compile and send out executables" and "compile and send out scripts".

提交回复
热议问题