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.
Ambiguity between 'PLongint' and 'System::PLongint'
Re: Ambiguity between 'PLongint' and 'System::PLongint'
I changed the PLongint declarations to int *, and made it through compile. Now the link fails, with the message:
[Linker Error] Unable to open file 'DBACCESS.RES'
[Linker Error] Unable to open file 'DBACCESS.RES'
-
AndreyZ
Re: Ambiguity between 'PLongint' and 'System::PLongint'
Hello,
Please make sure that Library Path of C++Builder 6 contains the following folders:
SDAC_Install_Directory\Lib
SDAC_Install_Directory\Bin
SDAC_Install_Directory\Include
, where SDAC_Install_Directory is a directory where you installed SDAC.
Please make sure that Library Path of C++Builder 6 contains the following folders:
SDAC_Install_Directory\Lib
SDAC_Install_Directory\Bin
SDAC_Install_Directory\Include
, where SDAC_Install_Directory is a directory where you installed SDAC.
Re: Ambiguity between 'PLongint' and 'System::PLongint'
Thanks, that worked.
-
AndreyZ
Re: Ambiguity between 'PLongint' and 'System::PLongint'
If any other questions come up, please contact us.