• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNI  RSS feed

 
pankaj patil
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Henry Wong
author
Sheriff
Posts: 22852
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, but didn't you just answer your own question?

Henry
 
Abhishek Chaudhari
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!