Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   JNA (http://www.chiefdelphi.com/forums/showthread.php?t=82530)

ideasrule 12-02-2010 23:34

JNA
 
A few questions about the JNA:

(1) Is there any comprehensive tutorial/explanation of it, aside from the API?
(2) What's the difference between a BlockingFunction and a Function?
(3) How do you pass a double to a native function that takes in 6 arguments? Do you simply do this:

Pointer my_double=new Pointer(8);
my_double.setDouble(0,0.8);
native_func.call6(blah,blah,blah,blah,blah,my_doub le.address().toUWord().toPrimitive());


All times are GMT -5. The time now is 02:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi