2 messages in net.java.dev.jna.usersWindows BOOL, BYTE are what?
FromSent OnAttachments
bb...@cox.netAug 3, 2007 8:15 am 
Timothy WallAug 3, 2007 8:27 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Windows BOOL, BYTE are what?Actions...
From:bb...@cox.net (bb@cox.net)
Date:Aug 3, 2007 8:15:51 am
List:net.java.dev.jna.users

So, how would I write the JNA for this C function out of a Windows .dll? BOOL DLLEXPORT f( BYTE *a, short b, long c, BYTE d, BOOL e);

I tried int f( byte[] a, short b, int c, byte d, int e); but that crashed HotSpot.

DLLEXPORT is apparently either __declspec(dllexport) or __declspec(dllimport) I'm not sure what BOOL and BYTE are, but guess they are some standard Windows
thing. I guess that's my first problem. Anybody know? - Ben