Ambiguity between 'PLongint' and 'System::PLongint'
Posted: Mon 24 Sep 2012 17:22
I downloaded SDAC 6.5.9 for C++ Borland Builder 6 (Build 10.166), and set up a very small test program. Everything worked fine, so I dropped a TMSConnection object on the form for my target program, wrote a little code, and built the project. It came back with errors on lines 190 and 191 of OLEDBAcess.hpp (the middle two lines below):
public:
HRESULT __stdcall Read(void * pv, int cb, PLongint pcbRead);
HRESULT __stdcall Write(void * pv, int cb, PLongint pcbWritten);
__fastcall TOLEDBStream(Memdata::TBlob* Blob, Classes::TList* StreamList)/* overload */;
I think the easiest answer would be to replace PLongint with the actual declaration, but I haven't been able to find the PLongint typedef.
public:
HRESULT __stdcall Read(void * pv, int cb, PLongint pcbRead);
HRESULT __stdcall Write(void * pv, int cb, PLongint pcbWritten);
__fastcall TOLEDBStream(Memdata::TBlob* Blob, Classes::TList* StreamList)/* overload */;
I think the easiest answer would be to replace PLongint with the actual declaration, but I haven't been able to find the PLongint typedef.