• Post Reply Bookmark Topic Watch Topic
  • New Topic

DLL for JNI  RSS feed

 
Gus Spain
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
this might be a little off the forum topic but I still think it might be the best place to ask it. As i said in a previous post i�m learning JNI and so far i�ve done all the java side and the c side, and now i have to do the dll file to communicate them. I tried using the cl.exe command, but it seemed better to use the VS.Net for that purpose, but i don�t know how to create a dll in Visual Studio .Net with my C files, any ideas?
Thanks!
 
Dom King
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the free JNI DLL Wizard for Visual Studio .NET 2003 available at
http://www.pure-native.com/download/index.html#community_tools.

If you need support for Visual Studio .NET 2002, please let us know and we can add it.

Enjoy!
 
Gus Spain
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I�ve downloaded the JNIWizards but once i�ve installed it it doesn�t appear anywhere, i go File->New->Project->Visual C++ but then the JNI DLL label doesn�t appear. By the way, my Visual Studio is 7.1, so there should be no version compatibility problem, and i�m using Windows XP with the Administrator privileges, so i should been able to do anything. What�s wrong?
[ November 26, 2004: Message edited by: Gus Spain ]
 
Dom King
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the installer should work for Visual C++ 7.1. Everything sounds right on your side. BTW, which version of Visual C++ 7.1 do you have? Standard? Professional? Enterprise Architect?

We would be pleased to support you (and other developers) directly through our support email account for pure-native.com. Or, you may want to bypass the installer entirely and just copy the wizard files from a zip archive. The zip archive may be downloaded at http://www.pure-native.com/download/JNIWizards-0_1-vc71-install.zip.

We suggest extracting the zip to a separate directory, such as "temp", and then copying the extracted directories and files to
the appropriate location on your system, which by default is "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7".
We hope that everything will now work on your system.
 
Dom King
Greenhorn
Posts: 18
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!