ok you win
a bit ;) On May 6, 2011, at 3:49 PM, Igor Stasenko wrote: > On 6 May 2011 15:42, Denis Kudriashov <[email protected]> wrote: >> >> 2011/5/6 Igor Stasenko <[email protected]> >>> >>> But just don't fall into delusion, that you can start using external >>> library (either written in C or C# or in Java), >>> without knowing at all the foreign language in which library are >>> written, and just after few mouse clicks in Pharo image. >>> >> >> Hello, >> >> In last week I implement java binding with some C library (it containes >> callbacks). Before I never doing this kind of work in java. >> And It will not simple task. I use JNA - analogous FFI libraries in >> smalltalk. >> So I done it. And It work from my tests. But when I deploy It to apatch >> server as servlet it cant work. Java craches in arbitrarily places of dll >> calling.Solutions will be simplest C dll wrapper which provides two >> functions without callbacks. >> Similar problems will be when we doing java connect to com-object. Solutions >> will be C# socket server :)) >> >> So Java connection to foreign world is not easy. Although there is good >> docs. >> >> > > That's what i trying to say. > Someone have to get his hands dirty and do it. Fail, fix & repeat > until its done. > There is no magic. And it always will be hard and error prone. > > > -- > Best regards, > Igor Stasenko AKA sig. >
