Board index » cppbuilder » .pas to .hpp
Jonathan Benedicto
![]() CBuilder Developer |
.pas to .hpp2005-03-31 06:24:03 AM cppbuilder105 I downloaded a set of ADO components off the net yesterday. Now I'm trying to compile a application that uses them, but the compiler is giving me this error in the .hpp generated by BCB : [C++ Error] ADOInt.hpp(578): E2040 Declaration terminated incorrectly. /* safecall wrapper */ inline Word _scw_Get_EOF() { Word r; HRESULT hr = Get_EOF(r); System::CheckSafecallResult(hr); return r; } #pragma option pop On this line : __property Word EOF = {read=_scw_Get_EOF}; ^ With the cursor over here. #pragma option push -w-inl Please tell me what the error is, and how to fix it. Thank you. -- Jonathan |