It has been an interesting few weeks. This project actually started out to be a PowerBASIC DDT to CWindow converter written in PBWin 10 using a pcre com class wrapper I wrote several years ago.
I lost interest for a couple of reasons. Bob had a VERY flexible syntax, with many items optional or ignored altogether, making the pcre rules difficult. It could have been done but I had no use for it so I bailed.
While still in the parsing mood I decided to create a utility that takes a dialog resource script and generates bc9Basic/CWindow/TCLib source. As I never do anything in moderation I added conversions for bc9Basic/TCLib, bc9Basic SDK, FreeBasic/CWindow, FreeBasic SDK, C++/TCLib (for Fred), C/C++ SDK, PowerBASIC/CWindow (PbWin10), PowerBASIC SDK (PbWin 9/10) and Oxygen Basic.
Throughout development only dialog resource scripts created with ResEd 2.2.8.0 were tested.
http://jcfuller.github.io/bc9Basic/Tools/ResEd.zipHelp File:
http://jcfuller.github.io/bc9Basic/Tools/ResEd.chmI started with the Visual Studio 2015 Community C++ compiler but discovered I did not have a pcre static library.
NUWEN distro to the rescue. Many fine libraries included but not without a price. A huge exe of 1.5 meg was brought down to a somewhat reasonable size of 500k with UPX but there were issues. The Open File Dialog has noticeable delays so I am not using UPX. I know 64bit is listed as experimental.
Only 64bit OS Vista+ supported.
I have mixed feelings about reource dialogs versus CWindow and SDK windows.
At the beginning of the bc9Basic CWindow port (from José's FreeBasic version) I was under the impression only an sdk approach would give satisfactory display results on hi dpi monitors not set to the default setting.
I have found this is not quite true. If one adds a dpi aware section to your manifest you no longer get fuzzy text.
Also, apps using resource dialogs are smaller than their SDK counterparts.
Here is the link:
https://sourceforge.net/projects/bc9basic/files/Tools/Dlg2Src/Dlg2Src.zip/downloadJames
Edit:
Because of some false browser malware site protection issues I have posted ResEd and it's help file to my bc9Basic github site:
http://jcfuller.github.io/bc9Basic/Tools/ResEd.ziphttp://jcfuller.github.io/bc9Basic/Tools/ResEd.chmchange above also
James