- Visual Basic Project Files (.vbp)
- Forms (.frm)
- Form binary data (.frx)
- …probably some others I missed.
From here on out, the parser will be referred to as 'vbs'.
Below is a diagram of the interpretation procedure…
- vbs (converts to C code)
- gcc/egcs/some C compiler
- link with BasicLIB and other libraries
- final executable
CvbsProject (Base Class)
This class is a base class for all project types. It includes code that parses .VBP files, and creates appropriate CvbsModule instances based on the modules it finds in the project.
Derived Classes...CvbsModule (Base Class)CvbsActiveX_EXE
CvbsActiveX_OCX
CvbsActiveX_DLL
CvbsStandard_EXE
All Visual Basic module classes are based on this class. It includes standard parsing code, plus the ability to override for special parsing of special modules like Forms, etc...
Derived Classes...CvbsBAS_Module
CvbsForm_Module
CvbsClass_Module