Accessing .NET/dll libraries/components from Java?

后端 未结 6 859
-上瘾入骨i
-上瘾入骨i 2021-01-12 20:49

Are there inexpensive or free gateways from .NET to Java? I\'m looking at some data acquisition hardware which has drivers for C/C++ and .NET -- I really don\'t wan

6条回答
  •  臣服心动
    2021-01-12 20:59

    If they have C++ versions of the drivers then you could write a wrapper around it using JNI and then load that in Java. JNI can be a bit of a pain, but it would let you use the C++ version of their drivers and not have to deal with .Net at all if you don't want.

提交回复
热议问题