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

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -