Original Post
Hi. I have to write a program that uses a DLL written in C. I looked up the google, and everything i found is to use Java Native Interface, but if i understood correctry, first you write program in Java, then code the DLL in C/C++. Well, that's not what i need. I already have a DLL (it was coded by other person, i cant change it), and i need to use it, how do i do that ? Also, one function in the DLL has parameter of HBITMAP, how do i convert my Java image to this one? (Sorry for my poor English)