My application is large, and with Antonio's guidance, I have attempted to build it using hbmk2
PLEASE NOTE: The program builds without error using a .mak file, and also building with Visual Studio Community 2023 directly. So this is NOT a coding error.
I have done a series of eliminations, and extensive testing, and the following is the result:
- Code: Select all Expand view RUN
- oARhistory:seek( dBegDate, .t. )
oARhistory is a database object
The error returned is: marutilities.prg(106) Error E0030 Syntax error "syntax error at '('"
The failure is that hbmk2 does not recognize more than the first parameter in the Seek() method. It will compile correctly if I comment out the 2nd parameter. In the database class, seek is defined as:
- Code: Select all Expand view RUN
- METHOD Seek( uExp, lSoft, lWildSeek, lCurRec )
In this case, I am passing a value of TRUE for lSoft ( soft seek ).
This would suggest that hbmk2 is actually not processing the database class in FWH but using something native to Harbour itself.
Has anyone else experienced this ? If so, have you found a workaround ? If you are using hbmk2 perhaps you have some further guidance. Thank you.
( I know it is very popular to ask for a working sample. However, I believe the issue here is very specific and enough detail has been provided. It would be a challenge to try and write a small subset of code )