Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Load a vb.net dll in java???

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Load a vb.net dll in java???

    Hello
    First sorry but my english is not very good.
    Here is my question:
    I made a vb.net dll, can i load this dll in java??
    All the examples that i read in internet uses c++ dll

    Thanks


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Load a vb.net dll in java???

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.
    All the examples that i read in internet uses c++ dll
    There's a reason.

    Please do some research on the source, purpose, and intended use of a .dll and the .net target architecture, and compare what you learn there to the Java "write once, run anywhere" philosophy as enabled by the Java Virtual Machine or JVM.

  3. #3
    Junior Member
    Join Date
    Aug 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Load a vb.net dll in java???

    ok, thanks

  4. #4
    Member jdv's Avatar
    Join Date
    Jul 2014
    Location
    This Land
    Posts
    73
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default Re: Load a vb.net dll in java???

    Quote Originally Posted by fozzy View Post
    Hello
    First sorry but my english is not very good.
    Here is my question:
    I made a vb.net dll, can i load this dll in java??
    All the examples that i read in internet uses c++ dll
    This is actually somewhat possible, depending on the DLL in question, but it is a tricky process that (as pointed out upthread) gives you a strong dependency to a specific platform and specific library loader.

    The JNI specification describes how Java interfaces to native code.

Similar Threads

  1. C# dll to read in JAva (Biometric finger print )
    By dominicevans06 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: July 20th, 2014, 03:25 AM
  2. How to Integrating c#dll with java
    By Indhu Mohan in forum Java Native Interface
    Replies: 0
    Last Post: October 4th, 2011, 11:17 PM
  3. Calling Existing DLL functions using java...
    By orihsoyk in forum Java Theory & Questions
    Replies: 0
    Last Post: April 6th, 2011, 07:23 AM
  4. Using DLL in Java
    By smh_5800 in forum Java Native Interface
    Replies: 3
    Last Post: February 4th, 2011, 01:01 AM
  5. Dll injection Java
    By TheEnd in forum Java Theory & Questions
    Replies: 1
    Last Post: March 2nd, 2010, 04:35 PM