File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DLL - JAVA

 
Preethi Suryam
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I want to create a dll file in java.Can we create a DLL file in java?how can we do it?i wish someone to throw some light on this.
Regards!
Preethi.
 
Ramneek Handa
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dll in java??? where is my torch???
dll is for windows(from microsoft) and java is form sun
Bobby ;-}
 
Preethi Suryam
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what i mean to say is, i want to develop a component using beans or something and make that component available for VB etc.hope u got me.can i do it?
Regards!
Preethi.
 
Arunagiri, Shanmugham
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Preethi,
You can use the class files (Bean component) created in Java in Lotus Notes. Notes gives the option of coding in javascript, Java, Notes Script and Formula. I dont know about using it in other development environment.
Arun
SCJP
 
Sarath Mohan
Ranch Hand
Posts: 213
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think it's not possible by direct coding in Java.
But you can use Java Native Interface for communicating with DLLs.
I don't know the details.
Refer Java Tutorials available for JNI in Sun's web site
Binu
 
vaibhav punekar
Ranch Hand
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you will have to create DLL file in C or C++.Make it a win32 dll.Select export option in radio-buttons.Use Java native method Load that library using System.loadLibrary("sth.dll")
Crete header file for Java C mapping using "avah" command.Better you refer Core Java Vol.2 for it.It is given in detail there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic