3,228 reputation
817
bio website
location
age
visits member for 2 years
seen Aug 13 at 4:01

Nov
26
awarded  Yearling
Aug
6
awarded  Nice Answer
May
24
awarded  Nice Answer
May
10
awarded  Enlightened
May
10
awarded  Nice Answer
Apr
20
awarded  Nice Answer
Jan
24
answered Extract information from function definition returned by DefineDLLFunction
Jan
23
answered Clojuratica setup
Jan
7
answered Creating a C++ project with Visual Studio 2010
Jan
6
awarded  Enlightened
Jan
6
awarded  Nice Answer
Dec
31
comment How to extract structured array data from DefineDLLFunction in Mathematica
It's not clear that your last line of code, which splits up the bytes of the structure, is correct. It would be helpful if you could show the actual bytes, meaning the output from Take[bytes, 148]. Also, I think it should be System.Int16, not System.Byte, for the last argument type in your DefineDLLFunction call.
Dec
18
answered Identify / change working directory for the InstallableNET runtime
Dec
12
answered Calling Mathematica from Java
Dec
10
answered LinkSnooper troubles on Windows
Nov
30
answered getting Mathematica messages in .NET
Nov
26
awarded  Yearling
Nov
25
comment J/Link: getArray2() returns wrong array
Your problems stem from not calling waitForAnswer(). The "evaluateToXXX" methods return a result, but when you call evaluate(), you must immediately follow it with waitForAnswer() if you are planning to read the answer, or discardAnswer() if you don't plan to read the answer.
Nov
25
comment J/Link: getArray2() returns wrong array
That's because you haven't shown us your code. I expect the problem is in your creation of the value of the variable expr. But until you show an actual working fragment of code, we can only guess at the problem.
Nov
25
answered J/Link: getArray2() returns wrong array