The array in the parameter has fixed size instead of being dynamically allocated. So, its size should be retrievable by using sizeof ?
What else can i do?
Type: Posts; User: navygreen
The array in the parameter has fixed size instead of being dynamically allocated. So, its size should be retrievable by using sizeof ?
What else can i do?
I solved it by copying the content one by one. I should have thought about this earlier.
LPBYTE convert2LPBYTE(unsigned char * input,int input_size){
DWORD size = (DWORD)input_size;...
May I know if anyone can help me on this issue? I'm trying to use a function in DLL library that requires LPBYTE data type parameters. So, what I can provide is just byte array a.k.a characters....
I've actually tried that. I thought my pointer referencing was invalid so I tried the code below earlier. I wonder if anybody has done JNI to import a ready-built DLL library.
LPBYTE...
I'm a beginner in Windows Programming or I'll say I don't know much at all.
In my program, I'm using JNI to import a DLL file written in Windows API into my Java program.
In the C program that...