This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNI

 
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
Marshal
Pie
Posts: 20995
76
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic