On 11/8/2012 7:50 PM, Jimmie Houchin wrote:
I am developing an application which needs to access a proprietary
business API to access data from their servers.
Currently because I don't know how to do that from within Pharo, I
have been using Python/COM. But that API is deprecated and expires
soon. Now I have to move to an app which accesses via either a C/C++
app which accesses a DLL, a .NET library or a Java jar.
There are a number of objects that have to be created from the
dll/jar, and a number of interfaces which have to be implemented from
the dll/jar. Presently I am studying Clojure in order to work from the
Java side. I do not know Clojure or Java. If I could learn sufficient
C and do this with NB in Pharo, that would be very nice.
I have never done anything like what NB does, so I do not know what
all it does or can do.
Can Pharo implement the interfaces provided in the DLL in the
Smalltalk side?
Or would the interfaces have to be implemented on the C side and then
Pharo access the objects?
Any advise greatly appreciated.
Thanks.
Jimmie
On a second look at the API's documentation, the DLL is C++ not C. I
don't know, but that might have been evident by the requirement of
implementing interfaces.
I thought I would provide that information, just in case in has a big
bearing NB/Pharo's ability and on my learning curve.
Jimmie