2 messages in net.java.dev.jna.usershelp with array in JNA
FromSent OnAttachments
bruno duarteMay 27, 2008 5:30 pm 
Timothy WallMay 28, 2008 5:49 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:help with array in JNAActions...
From:bruno duarte (brun@gmail.com)
Date:May 27, 2008 5:30:08 pm
List:net.java.dev.jna.users

hi! i'm from brasil. my english is veeery bad!

i have a code which list all windows opened:

#include <windows.h> #include <stdio.h> int main () { char vetor[50][256]; int i = 0; HWND janela = NULL; janela = GetDesktopWindow(); janela = GetWindow(janela, GW_CHILD); while(janela != NULL){ if(IsWindowVisible(janela) && !IsIconic(janela)){ SendMessage(janela,WM_GETTEXT,256,(LPARAM)vetor[i]); printf("%s\n", vetor[i]); i++; } janela = GetWindow(janela, GW_HWNDNEXT);

} return 0; }

how i do for this code return a array of string for my applycation in java with JNA? please post examples of code in java and c.

Bruno Queiroz Duarte.