It's me asking for input again. 
This time I've reached a decision point that has, I think, implications for the entire project. It involves the use of VB6 DLL & OCX files. I've spent the last couple days looking over Jose Roca's forum and the work he has done is quite impressive. Jose seems to have solved most of the problems associated with using VB6 components in PowerBASIC programs.
My own approach at the beginning has been to simulate VB6 features with PB equivalents and/or close approximations. To that end I am building a super CLASS designed to handle controls and produce these equivalents/approximations. So far it contains 127 properties, the associated GET/SET methods, and two separate interfaces. It is incomplete.
Some of you have suggested from the beginning that the Translator should produce PB code that uses the OCX/DLL files from VB6. When I study Jose's code I see that he has already solved the problem for many of these.
The delimma:
Should the Translator produce PB code that may be an approximation versus producing PB code that uses VB6 resources?
My way the enduser requires only the source files associated with the VB6 project being translated.
Jose's work seems to require the presence of the OCX files.
The Translator should produce PB source code that compiles, runs, and does the same job the VB source did before. So far, when folks describe to me why they like a particular VB component, my first inclination is to write a template for that functionality into either my super CLASS, or a dedicated CLASS template. (Neither the super CLASS nor the dedicated CLASSes would appear in the final output.)
I have to ask because either way is going to take some time. Producing output for both options will take that much more time. To me the essential goal is to bring VB refugees to PB and keep them with an end product that can do the translations and help teach new PBers.
It's not an easy question for me. I definitely need to hear suggestions and discussion. Either way, it will be a lot of work. Either way, the other tactic can be added after the chosen tactic is successfully implemented.

This time I've reached a decision point that has, I think, implications for the entire project. It involves the use of VB6 DLL & OCX files. I've spent the last couple days looking over Jose Roca's forum and the work he has done is quite impressive. Jose seems to have solved most of the problems associated with using VB6 components in PowerBASIC programs.
My own approach at the beginning has been to simulate VB6 features with PB equivalents and/or close approximations. To that end I am building a super CLASS designed to handle controls and produce these equivalents/approximations. So far it contains 127 properties, the associated GET/SET methods, and two separate interfaces. It is incomplete.
Some of you have suggested from the beginning that the Translator should produce PB code that uses the OCX/DLL files from VB6. When I study Jose's code I see that he has already solved the problem for many of these.
The delimma:
Should the Translator produce PB code that may be an approximation versus producing PB code that uses VB6 resources?
My way the enduser requires only the source files associated with the VB6 project being translated.
Jose's work seems to require the presence of the OCX files.
The Translator should produce PB source code that compiles, runs, and does the same job the VB source did before. So far, when folks describe to me why they like a particular VB component, my first inclination is to write a template for that functionality into either my super CLASS, or a dedicated CLASS template. (Neither the super CLASS nor the dedicated CLASSes would appear in the final output.)
I have to ask because either way is going to take some time. Producing output for both options will take that much more time. To me the essential goal is to bring VB refugees to PB and keep them with an end product that can do the translations and help teach new PBers.
It's not an easy question for me. I definitely need to hear suggestions and discussion. Either way, it will be a lot of work. Either way, the other tactic can be added after the chosen tactic is successfully implemented.
Comment