• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

DLL - JAVA

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic