As he sayed it doen't matter from were resources are loaded it depends only on what process/module the control is created from and what comctl32 is bound to the process by manifest (or the missing of a manifest).
How can I give my application the XP theme if my application uses a separated Dll that hold all resources
Your app needs a manifest file (either embedded or external). I doubt whether the fact that your resources are loaded from a DLL would affect anything here.
I now about manifest. But the problem that I load my resources from a
Dll. Any way I added the manifest to the Application rc file whether it
is empty. It worked without problems until now.
XP look
erikkl2000
As Nishant sayed you need a manifest. Description from MSDN here
http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwxp/html/xptheming.asp
As he sayed it doen't matter from were resources are loaded it depends only on what process/module the control is created from and what comctl32 is bound to the process by manifest (or the missing of a manifest).
Sensei
Thanks all for help.
AndyBer
Your app needs a manifest file (either embedded or external). I doubt whether the fact that your resources are loaded from a DLL would affect anything here.
Richard_Wolf
Thanks.