A
amk
hi,
I m developing a java application where i need to call VC code
having MFC.
1) I declared a native function in java code (ReturnObject.java).
2) created a .h file from java code with javah -jni ReturnObject
3) did the c++ coding where native function is defined
4) created ReturnObject.o.
5)Tried to create the dll using
C:\MinGW\bin\g++ -c -I"C:\JDK\include" -I"C:\JDK\include\win32"
-o ReturnObject.o ReturnObjectImp.cpp
I am failing at step 5. Could any one please let me know how to
create a dll of a code having mfc.
I m developing a java application where i need to call VC code
having MFC.
1) I declared a native function in java code (ReturnObject.java).
2) created a .h file from java code with javah -jni ReturnObject
3) did the c++ coding where native function is defined
4) created ReturnObject.o.
5)Tried to create the dll using
C:\MinGW\bin\g++ -c -I"C:\JDK\include" -I"C:\JDK\include\win32"
-o ReturnObject.o ReturnObjectImp.cpp
I am failing at step 5. Could any one please let me know how to
create a dll of a code having mfc.