Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Access DLL hInst without WinNativeForms #1815

Closed
fafalone opened this issue Mar 22, 2024 · 2 comments
Closed

Feature request: Access DLL hInst without WinNativeForms #1815

fafalone opened this issue Mar 22, 2024 · 2 comments

Comments

@fafalone
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When making a Standard DLL it's often desirable to leave out the large GUI package when that's not going to be used. But sometimes resources in the DLL need to be accessed.

Describe the solution you'd like
DllMain provides an hInstance for the DLL; I'd like for there to be some way of getting this without the App object-- assuming App.hInstance even correctly reported a DLL hInstance, which I haven't tested.

Describe alternatives you've considered
API

Additional context
Add any other context or screenshots about the feature request here.

@WaynePhillipsEA
Copy link
Collaborator

In BETA 489, a separate package is now available, twinBASIC - App object global class.

@Greedquest
Copy link

QQ will it affect the compiled dll size, or just uncompiled .twinproj? Is it just a developer experience thing, not wanting 100 new things added to intellisense when you only needed one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants