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

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

Postby 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
Failed
DB.HPP Code Snippet:
__property System::PByte Buffers[int Index] = {read=GetBuffer};
syscwl
 
Posts: 11
Joined: Mon 03 Oct 2011 17:44

Postby AlexP » Thu 06 Oct 2011 09:02

Hello,

I cannot reproduce the problem you specified
Please send us a small sample demonstrating this problem to alexp*devart*com
AlexP
Devart Team
 
Posts: 5528
Joined: Tue 10 Aug 2010 11:35


Return to VirtualDAC