Go to Post EVERYONE on the team is offered the same opportunities to be a team player, it is up to each person to step up and play the game. - MariaCastro [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-02-2010, 23:34
ideasrule's Avatar
ideasrule ideasrule is offline
Registered User
FRC #0610 (Coyotes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Toronto
Posts: 108
ideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the roughideasrule is a jewel in the rough
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());
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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