Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CDatabase::SetSynchronousMode

In MFC 4.2, CDatabase::SetSynchronousMode became obsolete.

The MFC ODBC classes now use only synchronous processing. To start an asychronous operation, you must directly call the ODBC API function SQLSetConnectOption. For more information, see the topic "Executing Functions Asynchronously" in the Windows SDK.

NoteNote:

Although SetSynchronousMode is obsolete, your code will still compile if you use this member function. SetSynchronousMode will simply generate a TRACE message that it is doing nothing.

Header: afxdb.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.