1 message in net.java.dev.jna.users[jna-users] Native Mem. Adress java.i...
FromSent OnAttachments
Hendrik SalyFeb 12, 2009 6: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:[jna-users] Native Mem. Adress java.io.FileActions...
From:Hendrik Saly (hend@gmx.de)
Date:Feb 12, 2009 6:27:07 am
List:net.java.dev.jna.users

Hello,

how can i get the native memory starting adress (0x?????) of a java.io.File? Guess i must load the file contents in memory (via FileInputStream etc.) and
then i have to find out the memory adress? Is there a think like an native buffer or somethin i can use?

Want to call a C function that accept a "filename" (file is in memory, not on
disk) like doWithFile("mem://0x????", filesize)

Thanks Hendrik