Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Need help with JNI desperately
|
Posted: Mar 24, 2003 1:42 PM
|
|
I forget the gory details of compiling DLLs on the command line with Microsoft's difficult-to-use-cryptic-error-message-spewing tools. I would either use Borland's compiler, or use the Microsoft Visual Studio to compile a DLL (use the option to create a blank DLL project and add your files -- don't forget to add the java include directories to your environment options). If you have a copy of Charles Petzold's Programming Windows 3.1 book, you can probably find the correct configuration to compile a DLL on the command line, also. Or you can spend the next couple centries trying to track down proverbial needle in the monstrous haystack of MSDN...
By the way, I don't think you want to be using the ML option, but you will need the LD option -- anyway, if you can avoid that rat's nest of complexity and use one of the options above, that is the preferred route (Borland C++ Builder is an awesome product and well worth the purchase price, in my opinion; in addition to having command line tools that actually work well, it is the best C++ IDE and RAD tool around).
|
|