Hi,

Did you check that you are using similar connection parameters for both your Dephi and C++ application ?