Maybe the documentation of the external library you are currently using will have some pointers on how u can go about doing this.
Also without the complete code it becomes difficult to think of a solution.
HOpe it helped,
bye.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
Does this even compile?
> return status;
I see no status declared anywhere.
> CA2CT mailHostConverted(mailHost.c_str());
This looks like it's stuck half way between a function prototype and a function call.
> conn.Connect(mailHostConverted);
I imagine this returns a status, why not test that to see whether the connect failed or not.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953