On 9 November 2012 09:55, drush66 <davorin.rusevljan@gmail.com> wrote:
Fernando olivero-2 wrote
Hi, i wanted to give my opinion on this, since i've encountered some of the problems you mention.
Sometimes to benefit from the simplicity of Smalltalk while coexisting with other tools, we must cope with low level technology "glue code".
NB made it easy to do so, compared to Alien,FFI, writing plugins in C. When i first started with Squeak and the Pharo1.0, it was a real pain interfacing with external libraries, THANKS Igor!
Still someones needs to do it, hence why a lot of people of this community spent loads of time coding this "extra work" to be able to do their "real work".
I wouldn't say that you need to be extremely bright to built a wrapper library using NB, once you know what api you want to call, and the type of arguments.
There's plenty of examples out there, and Igor always responds with tough questions!
Give a try! maybe its easier than you think.
Fernando
just to clarify, I was not referring to interfacing to c library which is rather well covered by NB, but to COM.
it should not be hard. there is a standard way how to discover/load interface.. i can't promise anything but i'll try to look at docs to point you to right one -- Best regards, Igor Stasenko.