When I try to create an appointment using CDO objects I get the following error:
"Asynchronous binding is not supported by this provider" error# -2147217771.
Here is my code:
AppointmentPtr pAppointment= NULL;
HRESULT hr = pAppointment.CreateInstance(__uuidof(Appointment));
DataSourcePtr pDataSource = pAppointment->GetDataSource();
hr = pDataSource->SaveToContainer(bstrURL, NULL, adModeReadWrite,
adCreateNonCollection, adOpenRecordUnspecified, _bstr_t(""), _bstr_t(""));
The same error happens if I pass existing active connection instead of NULL;
Could anybody help?