

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
22 messages in net.java.dev.jna.usersRe: [jna-users] Structure by value an...| From | Sent On | Attachments |
|---|---|---|
| Edroaldo Lummertz da Rocha | Nov 7, 2008 3:21 pm | |
| Timothy Wall | Nov 7, 2008 4:44 pm | |
| Edroaldo Lummertz da Rocha | Nov 10, 2008 6:07 am | |
| Timothy Wall | Nov 10, 2008 6:34 am | |
| Edroaldo Lummertz da Rocha | Nov 10, 2008 6:59 am | |
| Timothy Wall | Nov 10, 2008 7:57 am | |
| Edroaldo Lummertz da Rocha | Nov 10, 2008 8:38 am | |
| Timothy Wall | Nov 10, 2008 10:40 am | |
| Edroaldo Lummertz da Rocha | Nov 10, 2008 12:17 pm | |
| Timothy Wall | Nov 10, 2008 1:46 pm | |
| Edroaldo Lummertz da Rocha | Nov 10, 2008 1:57 pm | |
| Timothy Wall | Nov 10, 2008 6:27 pm | |
| Edroaldo Lummertz da Rocha | Nov 11, 2008 3:25 am | |
| Edroaldo Lummertz da Rocha | Nov 11, 2008 3:40 am | |
| Edroaldo Lummertz da Rocha | Nov 12, 2008 6:42 am | |
| Edroaldo Lummertz da Rocha | Nov 14, 2008 3:46 am | |
| Timothy Wall | Nov 14, 2008 4:37 am | |
| Edroaldo Lummertz da Rocha | Nov 14, 2008 9:41 am | |
| Edroaldo Lummertz da Rocha | Nov 14, 2008 10:05 am | |
| Timothy Wall | Nov 14, 2008 11:31 am | |
| Edroaldo Lummertz da Rocha | Nov 17, 2008 4:35 am | |
| Timothy Wall | Nov 17, 2008 5:17 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [jna-users] Structure by value and reference | Actions... |
|---|---|---|
| From: | Edroaldo Lummertz da Rocha (edro...@gmail.com) | |
| Date: | Nov 10, 2008 1:57:45 pm | |
| List: | net.java.dev.jna.users | |
In C++
struct HSymTbl { unsigned long pSymTbl; unsigned long length; };
Java version
public static class HSymTbl extends Structure { public static class ByValue extends HSymTbl implements Structure.ByValue{
} public long pSymTbl; public long length; }
Thank so much!!! 2008/11/10 Timothy Wall <twal...@dev.java.net>
Post the problematic structure (HSymTbl) in both C and Java versions.
On Nov 10, 2008, at 3:18 PM, Edroaldo Lummertz da Rocha wrote:
I am trying to develop a code for a DSP Signal Ranger. These board returns
values as: 0 for successfull, -1 when cannot find the board, -2 when cannot load the kernel and so on. The first function, Initialize_HL return 0, and it means that is ok, the function LoadUser_HL (the second function that I need to call)also returns 0, and it is ok. I send an e-mail to the fabricant, and it tell me that, if these two functions worked fine, i.e, returns 0, every is ok untill here. But in LoadUser_HL, I when I initialize my Structure object, the return value is 0, but the my Structure object HSymTbl is not initialized, because I cannot find the symbols that I would be able to find (as _aicreg). So, I think that the problem is in the LoadUser_HL, but I dont get errors, and by messages that I get, everything looks like ok. The function where se symbol is not found is K_Move_Data_HL. The C++ source code is provided by fabricant, I do not have Visual C++ to compile it, but the executable provided works well.
-- Edroaldo Lummertz da Rocha, Computer Scientist Mestrando em Engenharia Elétrica Master student in Electrical Engineering GruDE - LCI - EEL - CTC - UFSC Phn. +55(48)37217720 http://www.eel.ufsc.br/~lci/grude Mude Sua Vida, Mude o Mundo







