Hi All !!!
I have a requirement, a child window of Java window having a Frame, has to be created in VC++ using JNI.
I create a window which has a Frame, in java and i am calling a JNI function which has been implemented in a DLL using VC++ 6.0. There i need a HWND parameter while creating the child window in VC++. How do i get a handle to the window that is created using java. I am using JDK1.2
For the JNI function i pass the window object which i get as a jobject in VC++.
I am right now API to create a window, but i need to use MFC classes to create a window. How is it possible to typecast a jobject to CWnd * or CMDIFrameWnd * ......
Any suggestions/comments/answers welcome