From: D P <djp...@gm...> - 2013-04-05 21:42:26
|
A while ago, I downloaded xbase and attempted to compile it using MinGW/msys with no luck (see my earlier post). I took the .cpp files and the .h files and created a new code::blocks project and after some minor cosmetic changes, was able to compile the library successfully and have been happily creating structures, databases, indexes and even memo files! So now, I'm writing a project in which I would like to USE those wonderful structures, databases and index files and everything works fine until I try to write a memo field to the database: if ( rc = (CustMFile.UpdateMemoData(CUSTCMT,MemoLen, &C_Memo, XB_LOCK )) != XB_NO_ERROR ) I try to compile and I get : C:\Dev\xxxx\new_cust.cpp|725|error: no matching function for call to 'xbDbf::UpdateMemoData(xbShort&, xbLong&, char (*)[1025], int)' I go back to the library source and check things.... XB_MEMO_FIELDS is defined to 1, everything else looks good. I even go as far as to comment every #ifdef XB_MEMO_FIELDS #endif pair in the entire library, recompile and still the same result. I've spent 3 days trying to figure this out, to no avail. Can anyone PLEASE point me in the right direction? |