Tag Info

New answers tagged

1

ITS CRAZY I linked WolframRTL_Minimal.dll instead of WolframRTL.dll and then I put WolframRTL_Minimal.dll in the path where Visual Studio creates the executable :) Now it works and display 416.16 :)


6

You can look here for more examples and details: http://community.wolfram.com/groups/-/m/t/189092 http://community.wolfram.com/groups/-/m/t/189735 In short, do the following (call the file DoubleIt.c): #include "WolframLibrary.h" DLLEXPORT int DoubleIt(WolframLibraryData libData, mint Argc, MArgument *Args, MArgument Res) { mint x; ...


8

Taking user5601's suggestion to do a little demo, I quickly whipped this up as an example of ProcessLink being used to do non-trivial communication between Mathematica and an external program, but with much less ceremony than using ProcessLink or MathLink. Let's take this little Go program: package main import "net/http" import "bufio" import "os" import ...



Top 50 recent answers are included