Sign in to follow this  

How to put VC sources like bitmap into DLL?

Recommended Posts

You use LoadBitmap/LoadImage as usual, but you don't pass your HINSTANCE member from the main but the HANDLE you get passed in DLLMain (from inside the DLL).

If you need to get the bitmap from your main app you use the HANDLE you got from LoadLibrary.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this