by rhlawek » Sun Jul 28, 2013 2:10 am
Richard,
I understand and agree.
Since that last email I have commented out a number files and renamed them .orignal, starting with dbm.prg and dbms.prg as Antonio suggested was proper. I still have to review the complete list of those validate myself, but I think I don't use them, at least not directly. Internally by FW, I have no idea yet. I commented out anything with odbc in its name, as well as anything with sql in its name. I do use some of these features, but I get get much of this from harbour itself. I can provide that list.
I have quite a number of edits of files where structures are used, here just adding "CStruct.ch" to compliment the already present "Struct.ch" fixes most issues. There is still a problem with member strings, this coded uses syntax MEMBER variable AS STRING LEN nn, but LEN nn throws and error under harbour. I use structures in another program and I don't recall this being an issue there so I'll be looking for a configuration issue on my end. For now I've just commented out // LEN
I simply commented out all calls to DLL or DLL32. I'm sure I've disabled a great number of things doing so, but as pointed out, it may not be relevant if they are 16 bit extensions. I'm sure the syntax error is an easy fix, but its the figuring out if they are relevant part that matters. I'm guessing DLL files aren't files I use anyway, but possibly all DLL32 could be used.
I can't that I've tested the outcome, but I at least got it to compile, or I got all the .prg code to compile. I have a number of .c files that won't compile, but appear to be critical, at least by name. This group of errors may be c compiler switch related, so I need to review any errors there.
I am currently trying to build use my .prg lib with the FWH provided FiveHC.lib to do some testing that way.
Antonio, if any of this is helpful outside my personal interest I'll continue to share what I find on this thread. If not of general interest I'll get on with my testing and open discrete problems. If this is helpful for improving things overall, I'm more than happy to share, and learn.
Robb