Using TaminoX from C++

Hi,

I’m trying to use TaminoX ActiveX from C++. I’m getting all the time exception from various methods. E.g. Initialize() works fine, but the first call Echo(), Ping() or even GetVersion() is raising an exception. The component works perfectly fine from VB.

Why is the TaminoX raising exceptions? From my understanding of COM components they should always return a proper HRESULT and all exception should be catched within the API. Also if I have a look into the type library I see that various data types will be returned as function return value instead of a HRESULT.

Any suggestions?

Hi,

After calling Initialize(), you have to set the URL to the database by calling the following method:

SetCsDatabaseURL(LPCTSTR)

Regards,
Puny