Ok, I guess this is my final version of the PowerBASIC PBWin Address port to bc9Basic.
The basis was to keep it as close to the original as possible. To this endeavor I decided to use resource dialogs for both the main window and the Find pop-up. I often used aplib to compress static data (strings,Spread Format Data) with PowerBASIC in my commercial work of years past. The compressed data was then added to the app's resource file as RC_DATA. I chose to do this with the data for the Country combo.
The bc9Basic translated c++ code was compiled with the Visual Studio 2015 Community c++ compiler using a modified version of Fred Harris's TCLib.
It also makes heavy use of Fred's String class.
It has been discussed elsewhere about the overall design of the original being far from what one would use for a real-world application.
I did deviate a bit on Add/Update, and by adding a Save option to the menu.
Nothing is saved on an Add/Update operation, only the array data is changed.
On a save the original/current CardFile50.bin will be renamed adding the date and time and a new Cardfile50.bin will be created with the new/updated data.
I added a status bar where Search info is posted.
You will need a updated bc9Basic translator for use with this project.
https://sourceforge.net/projects/bc9basic/files/bc9Basic/bc9_9258.zip/downloadThe attached zip may be placed in either the bc9Adp2 or bc9Afx projects folder.
It includes the bas, cpp, and exe files so you do not need the above packages to run or view.
Final exe file size: 29,184 bytes
James