2 messages in net.java.dev.jna.usersAbout Pointer to Array of Structures.
FromSent OnAttachments
dani rodriguezJan 23, 2008 12:41 am 
dani rodriguezJan 23, 2008 3:09 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:About Pointer to Array of Structures.Actions...
From:dani rodriguez (soyn@hotmail.com)
Date:Jan 23, 2008 12:41:09 am
List:net.java.dev.jna.users

Hello all, i´m new here, from Seville,Spain.

I am having a prob with the jna lib (I mean I dont know how its done)... We are trying to update some old crap jni "thing" to jna, our app connects to
activeSync dll (rapi.dll) to sync some files, i have coded almost all functions
in rapi.dll but there is one think i want to ask, i have the method:

STDAPI_(BOOL) CeFindAllFiles( LPCWSTR szPath, DWORD dwFlags, LPDWORD lpdwFoundCount, LPLPCE_FIND_DATA ppFindDataArray );

I have a CE_FIND_DATA Structure, working for the FindFirstFile function (almost
the same, but receiving an LPCE_FIND_DATA parameter). The call returns the item count, but i have tried almost all possibilities
(except the one that should work) to get the CE_FIND_DATA...

Anyone with an example easy enough for me to read and get my mind clear?

Thank you, and sorry about my english.

Daniel Rodriguez Millán