hey, i'm trying to write a program in java that is able to talk to a velleman k8055. i found a library on line, and a demo command line tool, but only written in C++. i can load the library in java with Code: static { system.loadlibrary("k8055") } just fine, but when i try to invoke a method from the libk8055.so, i get an UnsatisfiedLinkError. in my search trough the interwebs i always come out to this Java Native Interface. but i only manage to find examples in which you have modify the C++ code to suit your program, not the other way around. and what is a header file? what does it do, and more important: where do i need it? my clue is lost somewhere under my desk and i can't find it anymore... thanx in advance
I played around with the velleman kit too at school. There was a OSS implementation that just worked with basic CLI commands... I wrote a PHP wrapper around it and I could control it from a webpage... About the header file, read up C coding... You'll get the point... Shame they don't teach decent languages anymore at school...