I'm finally getting some actual time to work on updating an application to 32 bits. The code compiled into Harbour like a dream and I was able to replace most of the FUNKY lib tools with Fivewin functions or I simply rewrote them in Harbour. The conversion of my DLL file was a bit tricky mostly because the original file had corruption. There still seems to be a difference in the way FW/Harbour handle buttons, and I'd like some advice.
In the 16 Bit DLL are three buttons, marked 1201,3201, and 5201, each representing different "push states" of the button on the screen. To setup the button in Clipper/1.92 Fivewin, the command to activate and display the button was:
REDEFINE BUTTON ID 201 OF oDlg ;
ACTION (oDlg:end())
Each of the various button states were displayed depending on the state of the button. After reverting to an older (uncorrupted) version of the DLL file, I was able to convert it to 32bit using the tools provided with Fivewin, and I am now able to edit the 32 bill DLL with Visual Studio and other editors. The button in the DLL however comes over as a custom item, and the screen will not display properly unless I replace that custom control with an actual button, however none of the visual displays work as they did in 16 bit, and all I get is a blank button. What is the easiest way to convert over these buttons so that the are not blank and work as they did in 16bit?
FYI, I am *extremely* impressed (and grateful) at how smoothly things have progressed, even with the difficulty caused by the corruption in the original DLL file. I'm very much enjoying the conversion process thus far, but I like some advice on the best way to convert the buttons.