You'd better ask this in some Borland forums. As BC++/Delphi adodataset implementation is very Borland specific, and your question has nothing to do neither with C++ nor WinAPI.