Skip to content

Expose certain (or all) compiler switches #1013

@fafalone

Description

@fafalone

Is your feature request related to a problem? Please describe.
One of the great features of VB6 is hackability. Standard DLLs were created in part with the undocumented [VBCompiler] field in .vbp files adding /ENTRY:DllMain. While TB now allows creating those in a more friendly manner, there's other uses for compiler switches.

Describe the solution you'd like
Primarily, I'd like the /ENTRY, /SUBSYSTEM and /FIXED:NO switches exposed, if not just all of them via a textbox. Since TB doesn't have a runtime and compiles to native code, Wayne suggests it could, like VB6 (though with much more difficulty since you need to strip the runtime out), be used to create kernel mode drivers, if we could add the /ENTRY:DriverEntry /SUBSYSTEM:NATIVE /FIXED:NO switches.

Describe alternatives you've considered
I do not believe any alternative to modify the compiled exe exists.

Additional context
Me and Wayne discussed this on VBForums; thought I'd add a formal feature request for tracking purposes like the other issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions