Re: resource dll problem
- From: "Ajay Kalra" <ajaykalra@xxxxxxxxx>
- Date: Fri, 8 Dec 2006 10:15:57 -0500
Why should you have the same resource IDs in the main program and a DLL?
These IDs shoudl all be distinct or you need to explicitly ask for resources
from a specific DLL. We used multiple resource DLLs, all with distinct
resoruce IDs and put these in a resource chain using CDynLinkLibrary.
--
Ajay Kalra [MVP - VC++]
ajaykalra@xxxxxxxxx
"adamus" <ss@xxxxxxxxx> wrote in message
news:e4%23i%23ntGHHA.2632@xxxxxxxxxxxxxxxxxxxxxxx
Hi,taken
I have application whci load different resource dll depending on language
selected.
Everything works ok when I want to display resource like image etc in main
program,
but when I main program call dialog box, images in that dialog are not
from newbox
resource dll but from main application(in main program). In that dialog
I have different
images for different languages in separate dlls. Stange thing though, text
from resource string
are taken properly from loaded dll.
What can cause that problem?
thanks
.
- Follow-Ups:
- Re: resource dll problem
- From: David Webber
- Re: resource dll problem
- From: adamus
- Re: resource dll problem
- References:
- resource dll problem
- From: adamus
- resource dll problem
- Prev by Date: Re: Why is VS 2005 so slow?
- Next by Date: Re: Trouble with CDialog DoModal()
- Previous by thread: resource dll problem
- Next by thread: Re: resource dll problem
- Index(es):
Relevant Pages
|