After @GrahameDGrieve asked about a C to Delphi thing, I went and looked at GitHub - WouterVanNifterick/C-To-Delphi: C To Delphi converter
At 5yrs old, it put up a struggle. It wanted a TBCEditor and TBCDragDrop.
// – – – –
I went looking for the Editor, and the github page I went to looked promising.
BCEditor.JsonDataObjects needed a couple of LongInts changed to NativeInts, but otherwise fine.
But C2Delphi was complaining that the TBCEditor IDE component was missing properties it was expecting :
CompletionProposal.Font.Charset, CompletionProposal.Font.Color, CompletionProposal.Font.Height,
CompletionProposal.Font.Name, CompletionProposal.Font.Style, and
WordWrap.Indicator.Glyph.Data
But on inspection, they could just be deleted out of the dfm file.
// – – – –
Looking TBCDragDrop lead me here: GitHub - delphioracle/Components-Backup-ONLY: Components for bonecode software.
It had 5 components :
BCComponent.DragDrop.pas, BCComponent.MultiStringHolder.pas, BCComponent.WndProcHook.pas,
BCComponent.SkinManager.pas, BCComponent.TitleBar.pas
and the last two wanted “acntDX10Berlin.bpl” … which lead me to Alpha Controls.
I didn’t see anything there about free components, so I just deleted the last two, and it installed.
// – – – –
I haven’t used DWS (Delphi WebScript), and didn’t want to mess around further, so I turned off that flag, and C2Delphi compiled and ran. The core functionality of C → Delphi translation needs work. It should be fun to play with.
But in among all the google searching to get things running, I came across the back story to BCEditor, and BoneCode, and Lasse Rautiainen. [ Torry's Delphi Pages ]
Seems that the editor was created in ~2015, and has had a bit of history since then:
https://en.delphipraxis.net/topic/4441-tbceditor-text-editor-component/
https://forums.adug.org.au/t/does-bceditor-have-license-issues/57602
Buuuttt … HE’S BACK, it seems, with TextEditor (right up to date, as in hours ago) and it’ll be good to update C2Delphi to use TextEditor now and clear up any issues.