2 messages in net.java.dev.jna.users[jna-users] Inline array of class jav...
FromSent OnAttachments
Clovis de Oliveira Leoncio Pinheiro JuniorOct 16, 2008 2:16 pm 
Timothy WallOct 16, 2008 3:50 pm 
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:[jna-users] Inline array of class java.lang.String not supportedActions...
From:Clovis de Oliveira Leoncio Pinheiro Junior (clov@foton.la)
Date:Oct 16, 2008 2:16:25 pm
List:net.java.dev.jna.users

I'm trying to map the following structure:

typedef struct _wfs_chk_in_process_form { LPSTR lpszFormName; LPSTR lpszMediaName; LPSTR lpszInputFields; LPSTR lpszOutputFields; LPWSTR lpszUNICODEOutputFields; DWORD dwOptions; } WFSCHKINPROCESSFORM, * LPWFSCHKINPROCESSFORM;

LPSTR is equivalent to char**. A sample definition from the DLL provider is: lpszInputFields Pointer to a list of null-terminated field names from which to read input
data, with the final name terminating with two null characters.

When I'm trying to map this field as String[] I get a "Inline array of class
java.lang.String not supported" error. Any Idea?

Sorry about any english errors.

Clovis Leoncio Junior

Analista de Sistemas - NIM

clov@foton.la

Fóton® Informática S.A.

Fone: (61) 3214-3000