Re: Loading of dll file




vinaymvbhat82@xxxxxxxxx wrote:
Hi,
I had a doubt in java related to loading of dll files.The first thing
is how to load the dll file in java and then how to retrive the
methods/functions from the dll files.Can anybody help me, please.

I am not sure what you mean with "load", but if you think about calling
functions of the DLL you'll definitely be out of luck with pure Java -
you need to go over the native interface (JNI) as soon as you want to
integrate with C(++) program code.

/philipp

.



Relevant Pages

  • Re: Java programmer lured back by .Net (Questions)
    ... in .NET a form is simply a class so yes it could easily be placed into a DLL and then use Ngen to make a native image of it. ... Of course it learned a lot from Java, and improved upon many things which Java is slowly catching up on. ... As far as code security you're in the same boat as Java since it compiles down to MSIL instead of bytecode of which both can reverse engineered very easily. ... I would like to be able to place my executable on my remote server and then "load" the executables on demand from accross the internet - so that there are no executables on the local machine for prying eyes to reverse engineer. ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Java programmer lured back by .Net (Questions)
    ... in .NET a form is simply a class so yes it could easily be placed into a DLL and then use Ngen to make a native image of it. ... Of course it learned a lot from Java, and improved upon many things which Java is slowly catching up on. ... As far as code security you're in the same boat as Java since it compiles down to MSIL instead of bytecode of which both can reverse engineered very easily. ... My backend is pure Java running on Unix - but because SWING is so ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Delete dll
    ... >I want to unload the dll after use so I can delete the stored .dll file from ... >How do I unload the dll, or release the file so it may be deleted? ... You can explicitly load the library before calling anything in it ...
    (microsoft.public.vb.com)
  • Re: Delete dll
    ... >I want to unload the dll after use so I can delete the stored .dll file from ... >How do I unload the dll, or release the file so it may be deleted? ... You can explicitly load the library before calling anything in it ...
    (microsoft.public.win32.programmer.ole)
  • Re: JNI EXCEPTION_ACCESS_VIOLATION
    ... I am not experienced in coding a dll and access it via ... Java, but, I would say to you that, if you do not mind, try to use the ... The code will crash when running under XP Service Pack 2 ... The code will NOT crash when running under Windows 2000 Service Pack 4 ...
    (comp.lang.java.programmer)