yes if you provide the sample exe source with callback and corresponding j source, I can show how to glue them with pcall.
JNI argument was to show that gluing J is not harder than any other interface, but even simpler, as you will see. Oleg Kobchenko On Jul 15, 2007, at 10:30 PM, "Jack Andrews" <[EMAIL PROTECTED]> wrote: Instead of referring to other langauges interfaces, could you just provide a simple concrete use case or two will do. with actual function signatures on all layers involved. i would be happy to write a header file defining a c interface i think is appropriate to j and to write a small exe demonstrating the use of this interface. - i'd write the glue needed to approximate this interface to j. - i'd code the use cases above. is this what you'd like? On a side note, how would it be possible to make embedded Java call back your C host without creating a separate JNI DLL? i don't believe it is. is this an argument against dll-less linking to c? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
