I m calling an DLL (written in VC) in java but there is DLL function which uses hWnd as parameter But Java does not support that type. So is there any way to use hwnd in Java? or Some body tell me how to make such complex data type in Java?
David Gommeren HWND is simply an (unsigned) integer or void pointer. In Delphi at is used as a Longword which is an unsigned integer. If you simply use it to pass it on or store it, a normal Java integer should do the job. The declaration in the Windows header files is a bit strange, because it can be defined as a structure containing an integer.