how to create .dll using c++ on linux(mandrake)??

@

@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.
:eek:
 
That sounds like it's a function using Windows API to create a window or something. Are you sure it would work under X?
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,623
Latest member
AndersonLo
Back