No announcement yet.

Feature request: interface stub generation

  • Filter
  • Time
  • Show
Clear All
new posts

  • Feature request: interface stub generation


    I have the following feature request for the next release of PowerBasic

    When creating PowerBasic classes, not COM classes, allow for a compiler directive that would generate the interface stubs automatically. Like #GENERATE STUBS

    For each class / interface found, the interface stub would then be generated in an extra file.

    The reason for this is that I tend to create a DLL with a particular exported function e.g. GetMyClass() as MyInterface,

    The main program contains the included stub file with the interface definition.

    This is really handy for me since all my classes related to a project are in one (or multiple) DLL(s) so I don't need to include them in my main executable.

    Thanks for listening.
    So here we are, this is the end.
    But all that dies, is born again.
    - From The Ashes (In This Moment)