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 5 of 5

Thread: C# dll to read in JAva (Biometric finger print )

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

    Default C# dll to read in JAva (Biometric finger print )

    My Personal Researches on this topic was ::
    1) Use socket programming (i was able to connect to that ip and port but of no use? how to get data ??)
    2) A lot of forums suggest the JNI or JNA way.. which i tried out and accomplished a connection to the port.
    but the problem was the appoarch i used in JNA which only supports the loading of C/C++ dll files... not C# dll.... the BioMetric Finger Print device is coded in C#
    so Im stuck here...


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,039
    My Mood
    Mellow
    Thanks
    184
    Thanked 647 Times in 634 Posts

    Default Re: C# dll to read in JAva (Biometric finger print )

    How does this question have a connection to Java, other than the word Java in the thread title?

  3. #3
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    411
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: C# dll to read in JAva (Biometric finger print )

    If the parent source is written in C# and the DLL loaders accept only
    C/C++ - your going to have to re-write the DLL loader application in Java
    because of the difference between the JVM and C#'s MSIL interpreter.

    To be honest, is this all really necessary? If it can work using C++ and C#
    to an extent, is that not enough platform availability?

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  4. #4
    Junior Member
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: C# dll to read in JAva (Biometric finger print )

    thanks .. but since im building an app using java i need to connect to this biometric device to get the data... i tried the socket connection but it just connected and no data was sent from the machine... i was wondering did i miss anything while socket programming ..

  5. #5
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,039
    My Mood
    Mellow
    Thanks
    184
    Thanked 647 Times in 634 Posts

    Default Re: C# dll to read in JAva (Biometric finger print )

    i was wondering did i miss anything while socket programming ..
    How would we know that?

Similar Threads

  1. Replies: 1
    Last Post: August 24th, 2012, 05:24 PM
  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. Using DLL in Java
    By smh_5800 in forum Java Native Interface
    Replies: 3
    Last Post: February 4th, 2011, 12:01 AM
  4. make USB Connection with a finger print device
    By Sunil Raghuvanshi in forum Java Theory & Questions
    Replies: 0
    Last Post: January 15th, 2011, 02:24 AM
  5. Dll injection Java
    By TheEnd in forum Java Theory & Questions
    Replies: 1
    Last Post: March 2nd, 2010, 03:35 PM