问题描述
hi
我在系统托盘上有一个应用程序.最初,它在启动时不应加载资源.当我双击任务栏图标时,资源应该加载
,当我关闭应用程序资源时应该卸载.
为此,我仅为资源创建了一个dll,然后从应用程序中删除了所有资源.编译之前,使用:: LoadResources和:: UnloadResources方法动态加载和卸载
然后编译并运行它,现在只有系统任务栏图标,当我双击该图标时,应用程序未加载
如果您有任何想法,请帮助我
谢谢
hi
i have an application on system tray. Initially it should not load resources when it starts. When i double click on tray icon the resources should load
when i close only application resources should get unload.
for this i have create one dll only for resources, then deleted all resources from application before compiling, used the methods ::LoadResources and ::UnloadResources for load and unload dynamically
then compile and ran it, now only got system tray icon, when i double click on that, application is not loading
if you have any ideas, help me please
Thank you
推荐答案
这篇关于如何动态加载/卸载资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!