Toots
January 31st, 2000, 07:58 AM
I am using JNI to interface C++ code with Java code. In my C++ code I am using types such as CFile, CStringArray etc. but when I am compiling the code using the command
cl -Ic:\jdk1.2\include -Ic:\jdk1.2\include\win32 filename.c -Fefilename.dll
these types are not being recognized.
I tried adding the path of the include file stdafx.h in the command but then other problems cropped up. What am I doing wrong??
cl -Ic:\jdk1.2\include -Ic:\jdk1.2\include\win32 filename.c -Fefilename.dll
these types are not being recognized.
I tried adding the path of the include file stdafx.h in the command but then other problems cropped up. What am I doing wrong??