VT causes DB.HPP conflict in CodeGear 2010 C++

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 13
Joined: Mon 03 Oct 2011 17:44

VT causes DB.HPP conflict in CodeGear 2010 C++

Post by syscwl » Mon 03 Oct 2011 17:55

In Codegear 2010 C++ using Intraweb [Vcl for Web]...I added a VT to UserSessionUnit form. I now get the following error....seems like there's some definitional conflict.
Here is the compiler error followed by the db.hpp code snippet:
Compiling PlanScapeWebMain.cbproj (Debug configuration)
[BCC32 Error] Db.hpp(3086): E2316 'GetBuffer' is not a member of 'TDataSet'
Full parser context
ServerController.cpp(7): #include ServerController.h
ServerController.h(11): #include UserSessionUnit.h
UserSessionUnit.h(15): #include C:\Program Files (x86)\Devart\VirtualTable for RAD Studio 2010\Include\MemDS.hpp
MemDS.hpp(18): #include c:\program files (x86)\embarcadero\rad studio\7.0\Include\Vcl\Db.hpp
Db.hpp(34): namespace Db
Db.hpp(2856): class TDataSet
DB.HPP Code Snippet:
__property System::PByte Buffers[int Index] = {read=GetBuffer};

Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Thu 06 Oct 2011 09:02


I cannot reproduce the problem you specified
Please send us a small sample demonstrating this problem to alexp*devart*com

Post Reply