File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes Read the content from .DLL Libraries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Read the content from .DLL Libraries" Watch "Read the content from .DLL Libraries" New topic
Author

Read the content from .DLL Libraries

Maheswaran Devaraj
Ranch Hand

Joined: Sep 14, 2007
Posts: 47
Hi All,

I have a requirement to read the .DLL libraries to fetch information.

Do we any utilities to achieve this. Please share the details or API information if any.


Thanks
Mahes
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Are you looking for a Disassembler, or just something that will list the entry points of a DLL? Are you intending to write this tool in Java (which would probably not be the best language for the job, I would imagine).


Ping & DNS - updated with new look and Ping home screen widget
Maheswaran Devaraj
Ranch Hand

Joined: Sep 14, 2007
Posts: 47
From the client machine browser I want to read the particular DLL file which is stored in the client machine.

My application is developed using java technologies.Can you please share if we have any possible solutions.


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
You can certainly read a file in the sense that you can get at its bytes - not sure if that helps you. If you want to do this in the browser, then you'd need to use a signed applet (in order to be allowed access to the client-side file system) and of course know exactly where the file is stored and how it's named (and hope that the account that runs on the client machine is allowed access to that file to begin with). Or you can write a web app where the user uploads the file to your server. Neither way sounds appealing, though, as users shouldn't be bothered with such system details.

What is the underlying problem you're trying to solve?
Maheswaran Devaraj
Ranch Hand

Joined: Sep 14, 2007
Posts: 47
The DLL file stored in the client machine is having some data which is required for my application. I want to get the data stored into the DLL file from my browser. My question is how to read the data stored into the DLL file. Do we have any specific API in java apart from the JNA.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Read the content from .DLL Libraries
 
Similar Threads
can't start J2EE 1.4 SDK
can't start server ??
How to know one is using a Type 4 Driver with DB2
JNI: UnsatisfiedLinkError: Can't find dependent libraries
Why overwriting "java.library.path" doesn't work?