Sorry in advancem if this question appears too naive for some people. Basically I am writing a Java Application which has to use a Shared Object on Sun Solaris. The Shared Object is written in C and I do not have the Source Code of it, but I have the API Usage of the Library. Now to call the Shares Object I use the APIs provided. To do this I write a Wrapper C Function and call this C Wrapper Function from Java. This C Wrapper in turn calls the respective functions from the Shared Library. Is it possible to compile this C Wrapper and the Shared Library into one new Shared Library, which I can load in my Java program? Or to do the above I need the Source Code of Shared Library (which is difficult to get).
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop