M
Murrgon
I am using javah.exe (Win2K platform) to generate function
prototypes for interfacing with java. If I run it from the
command line, it seems to work fine. However, I have set up
a custom build step in my project in VC6 and Javah.exe is
now generating function names that look like this:
JNIEXPORT jfloat JNICALL Java___0005cDebug_0005cInterface_GetTimeValue
(JNIEnv *, jobject);
When I run directly from the command line, I get this:
JNIEXPORT jfloat JNICALL Java_Interface_GetTimeValue
(JNIEnv *, jobject);
Here are my custom build rules:
javac -d $(OutDir) $(InputPath)
javah -o $(ProjDir)\JavaInterface\$(InputName).h $(OutDir)\$(InputName)
Now I want to know why the heck it is inserting "__0005cDebug_0005c"
into the names and how I can get rid of it.
Thanks
Murrgon
prototypes for interfacing with java. If I run it from the
command line, it seems to work fine. However, I have set up
a custom build step in my project in VC6 and Javah.exe is
now generating function names that look like this:
JNIEXPORT jfloat JNICALL Java___0005cDebug_0005cInterface_GetTimeValue
(JNIEnv *, jobject);
When I run directly from the command line, I get this:
JNIEXPORT jfloat JNICALL Java_Interface_GetTimeValue
(JNIEnv *, jobject);
Here are my custom build rules:
javac -d $(OutDir) $(InputPath)
javah -o $(ProjDir)\JavaInterface\$(InputName).h $(OutDir)\$(InputName)
Now I want to know why the heck it is inserting "__0005cDebug_0005c"
into the names and how I can get rid of it.
Thanks
Murrgon