DLL and CBitmap
-
I am working on a program where I keep background textures in a separate DLL (for simple upgrade possibilities). I use LoadBitmap in the DLL and I export the pointer to the asociated CBitmap to the application. Everything works fine, except that refresh is quite slow now. Does anyone know/recognize this behaviour , or did I do something else wrong? If someone has a clue and solution, please let me know. Bert....
-
I am working on a program where I keep background textures in a separate DLL (for simple upgrade possibilities). I use LoadBitmap in the DLL and I export the pointer to the asociated CBitmap to the application. Everything works fine, except that refresh is quite slow now. Does anyone know/recognize this behaviour , or did I do something else wrong? If someone has a clue and solution, please let me know. Bert....
you can load resource in the application directly instead of loading in dlls. when you load resource in the application after load some dlls.the system will look for the resource not only in the application but also in dlls it has loaded. i hope it works well... gucy