Results 1 to 6 of 6

Thread: DLL's

  1. #1
    DemoX is offline Member
    Join Date
    Apr 2008
    Posts
    15
    Rep Power
    0

    Default DLL's

    Hey all
    i am working at project and i have to produce dlls for my parts in dat project
    so any one have idea how to get dll by java coz someone else will take it and use it at c#
    DemoX

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,812
    Rep Power
    25

    Default

    dlls are from the MS linker program, for Windows apps.
    The java command creates .class files for the java JVM.
    Completely different animals.
    What does c# produce and use? What does its compiler generate?

    To communicate between c and java, look at JNI.

  3. #3
    DemoX is offline Member
    Join Date
    Apr 2008
    Posts
    15
    Rep Power
    0

    Default

    hey
    it's project so i'll make by java back-end and the c# will use my dlls to make front-end of it so the exe will produced by the c#.

    Quote Originally Posted by Norm View Post
    dlls are from the MS linker program, for Windows apps.
    The java command creates .class files for the java JVM.
    Completely different animals.
    What does c# produce and use? What does its compiler generate?

    To communicate between c and java, look at JNI.

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,812
    Rep Power
    25

    Default

    Java creates .class files, not .dll files.

  5. #5
    DemoX is offline Member
    Join Date
    Apr 2008
    Posts
    15
    Rep Power
    0

    Default

    I know dat but how can i make c# get use from my code i dont know if c# can import our .class or not but what i think is no so how can make dat it's my problem
    Quote Originally Posted by Norm View Post
    Java creates .class files, not .dll files.

  6. #6
    georgemc is offline Senior Member
    Join Date
    Sep 2008
    Posts
    135
    Rep Power
    0

    Default

    I'm not even sure JNI will help since technically, .NET code isn't native (feel free to correct me if anyone knows better). Perhaps JACOB can help, I think you can make a .NET assembly a COM component IIRC.

    Or, you could abandon this tight integration altogether and go down the web services route :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •