@
@n!e
Guest
hi,
i'm currently need to rebuild a existing .dll file.
The client.dll is a file which i dowload together with my other codes for a chat application written in java. Belows are the information bout the .dll:
"The client.dll has only one function, which calls
FlashWindow(HWND,true)
This is made through a JNI call, do the following steps to do that,
1. Compile all the classes in the source zip.
2. javah -jni FlashWindowListener ( you can find that class in ChatDialog.java)
3. You will now have a FlashwindowListener.h which has a method prototype
JNIEXPORT void JNICALL Java_FlashwindowListener_flashWindow(JNIEnv *, jobject, jint)
4. Provide a FlashwindowListener.cpp which has the function definition like below,
JNIEXPORT void JNICALL Java_FlashwindowListener_flashWindow(JNIEnv *env, jobject obj, jint hwnd)
{
FlashWindow((HWND)hwnd,TRUE);
}
Can anyone of u tell me in a more simply way on how to do it??
And how to use gcc command on linux?? What components i need in order to use the linux c++ compiler??
soli for the length & thanks in advance.
i'm currently need to rebuild a existing .dll file.
The client.dll is a file which i dowload together with my other codes for a chat application written in java. Belows are the information bout the .dll:
"The client.dll has only one function, which calls
FlashWindow(HWND,true)
This is made through a JNI call, do the following steps to do that,
1. Compile all the classes in the source zip.
2. javah -jni FlashWindowListener ( you can find that class in ChatDialog.java)
3. You will now have a FlashwindowListener.h which has a method prototype
JNIEXPORT void JNICALL Java_FlashwindowListener_flashWindow(JNIEnv *, jobject, jint)
4. Provide a FlashwindowListener.cpp which has the function definition like below,
JNIEXPORT void JNICALL Java_FlashwindowListener_flashWindow(JNIEnv *env, jobject obj, jint hwnd)
{
FlashWindow((HWND)hwnd,TRUE);
}
Can anyone of u tell me in a more simply way on how to do it??
And how to use gcc command on linux?? What components i need in order to use the linux c++ compiler??
soli for the length & thanks in advance.