aspose file tools*
The moose likes Java in General and the fly likes JNI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JNI " Watch "JNI " New topic
Author

JNI

pankaj patil
Ranch Hand

Joined: Dec 19, 2004
Posts: 98
Can Any one tell me how to create the .dll file

On Win32, the following command builds a dynamic link library hello.dll using Microsoft Visual C++ 4.0:

cl -Ic:\java\include -Ic:\java\include\win32
-LD HelloWorldImp.c -Fehello.dll



And how to set the Path


Regards,
Pankaj Patil
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18990
    
  40

Sorry, but didn't you just answer your own question?

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Abhishek Chaudhari
Greenhorn

Joined: Feb 09, 2005
Posts: 11
Microsoft VC++ 6.0 has vcvars32.bat. This file sets the environment.
If that's not there, u need to set path for the cl.exe in visual studion installation directory inside vc\bin. Other path needed is - path for one dll not sure about the name whcih is in visualstudio\common.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNI