How to call a C# method in a C# class from Java? -


[dllimport(@"cesmlm.dll", callingconvention = callingconvention.cdecl)]  private static extern uint32 ceprngettotpaperremainingusb(                   int intdev,                    ref uint32 dwnumcmpaper,                    ref uint32 dwsyserr); 

this method in c# class, wanna call in java class. it's possible call ?

here few options:

http://www.codeproject.com/articles/378826/how-to-wrap-a-csharp-library-for-use-in-java

also can use ikvm java/.net interop

http://www.codeproject.com/articles/594632/ikvm-net-in-details


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -