Hi Guys,

#define MOK 0
#define MERROR (-1)
#define MTIMEOUT (-2)
#define MMORE (-3)
#define MSERVER (-4)

So far i've discovered MOK with value of 0 means connected to MServer and your query went well.

MSERVER with value of -4 means that the server doesn't like the query and its bad SQL.

I've not been able to discover what the others mean hope someone can help.

I've also discovered that mapi_start_talking no longer seems to be implemented in the library guessing its deprecated. 

Regards,

Brian Hood