Greg, Does http://www.ikvm.net/devguide/net2java.html help instead of going indirectly via the C API?
On 25 September 2013 13:32, Greg Keogh <[email protected]> wrote: > Folks, has anyone in here had experience trying to use the Australian > Medicare Online Claiming Client Adaptor from .NET? Here's what I've found > so far: > > When you want to develop an app that "talks" to their server to make > online claims they send you a few sheets of paper and a CD. The sheets have > skeletal instructions and some sample data keys. The CD contains JRE 6, a > utility to make a certificate store, some test certificates, weird > utilities, a CHM, JAR and DLL files, some header files and one lots of > other files which are initially meaningless. What's missing is an overview > of how it all works. If you come into this thing stone cold then you have > no initial idea where the hell to start. All of the documentation uses > their jargon and assumes you have prior knowledge of how it all hangs > together. > > I eventually found useful help in the CHM. It turns out the whole Client > Adaptor is written in Java. They supply a thin C API wrapper over the JAR. > Unless your app is also in Java, you then have to work with the C API using > whatever means your language has of importing and consuming C functions. > They supply header files for C/C++, VB6/VBA, Pascal and Delphi. There is no > mention of .NET anywhere. > > If anyone has been though this before, I'd love to chat to you. You can > contact me offline via [email protected] if the matter is too [OT]. > > *Late note *... I just found some sample Java code, which looks like a > small but complete app that sends a server message. Thank heavens. > > Greg K > > P.S. There are 36 C API functions. Is there a automatic way of converting > them into C# DLLImports, or maybe I should just do it by hand. > -- regards, Preet, Overlooking the Ocean, Auckland
