Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个 dll 库接口:
int MetEx(BYTE *Data_Ora,DWORD Prezzo)
我想用JNA来调用它,所以我做了这个实例映射:
int MetEx(byte[] Data_Ora, int Prezzo);
但我不太确定 DWORD 是否可以很好地转换为 int。你能证实这一点吗?
是的,DWORD相当于int。
DWORD
int
如果您想改用它,甚至还有一个Java 端。DWORD