Message Boards Message Boards

0
|
5787 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Find out all functions and their parameters in a .dll file?

Posted 7 years ago

Cross post here

Since function LibraryFunctionLoad can load a function from .dll file like

fun = LibraryFunctionLoad["demo", "demo_I_I", {Integer}, Integer]

Then you can use fun in Mathematica. And I can know this function demo_I_I from this .dll LibraryFunctionInformation[fun]

{"ReturnType" -> Integer, "ArgumentTypes" -> {Integer},"File" -> 
  "C:\\Program Files\\Wolfram \
Research\\Mathematica\\11.1zh\\SystemFiles\\Links\\LibraryLink\\\
LibraryResources\\Windows-x86-64\\demo.dll", "Function" -> "demo_I_I"}

But how to know how many function can be loaded in this demo.dll file.And how to know its form of parameter?

POSTED BY: Yode Japhe
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract