Two Laptop Bag
The moose likes JSP and the fly likes Converting DLL to Class files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Converting DLL to Class files" Watch "Converting DLL to Class files" New topic
Author

Converting DLL to Class files

Joseph Vinodh
Greenhorn

Joined: Feb 25, 2003
Posts: 11
Could you please help me to convert DLL files into java class files?
Thank you for your Informative replies.
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

Since DLLs are generally compiled C or C++ code, I don't think you'll have much luck trying to figure out any automatic conversion.
1) What are you trying to accomplish by this?
2) Why did you post this in the JSP forum?
bear


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
sampy jagan
Ranch Hand

Joined: Sep 17, 2002
Posts: 34
Hi Joseph
Sorry for the delayed reply, I believe you are trying to convert the Crystal Rpt's .DLL files to .class files to be used in jsp pages, With ref to your prev question.
Well here are the steps for the same.
Crystal Reports come with a craxdrt.dll which is to be embedded in you page to which you pass the parameters and etc. To use it in your jsp page convert your .dll into java classes using microsoft SDK for java and embed those classes in you pages.
Follow the steps.
1. install microsoft sdk java 4.0.
2. jactivex <your>.dll
It should create a package in winnt\java\trustlib
3. compile all these .java files.
jvc -x- *.java
4. include this package in your jsp page.
Hope it helps.....
Regards
Jagan
Joseph Vinodh
Greenhorn

Joined: Feb 25, 2003
Posts: 11
Dear Jagan,
Thank you very much for your GREAT help.I believe that i can achieve my goal through your Suggestion. Once again, THANK U VERY MUCH.
Regards,
Vinodh.
sampy jagan
Ranch Hand

Joined: Sep 17, 2002
Posts: 34
Cool... All the best...
 
 
subject: Converting DLL to Class files
 
Threads others viewed
JNI - dll method invocation not working despite correct signature
Configuring eclipse to use dll files at runtime
Calling a DLL from Java
Java 3D Classpath
DLL to Java Class files
IntelliJ Java IDE