Calling a Third Party DLL in Mathematica

I am having difficulty calling a trigger DLL form in Mathematica. My code:

     qmConnectLocal = 
         LibraryFunctionLoad["C:\\Windows\\QMClient.dll", 
         "QMConnectLocal" , {String}, Bool]

      

what i get:

    LibraryFunction::btype: Invalid type and/or rank specification in String. >>

      

I start too much in Mathematica code to understand what it is trying to tell me.

Any help?

+3


source to share


1 answer


The documentation states that it should be "UTF8String"

(with quotes) instead of String

. So what happens when you try



qmConnectLocal = LibraryFunctionLoad["C:\\Windows\\QMClient.dll", 
 "QMConnectLocal" , {"UTF8String"}, Bool]

      

+2


source







All Articles