Re: resource dll problem
- From: "adamus" <ss@xxxxxxxxx>
- Date: Fri, 8 Dec 2006 11:30:37 -0500
Hi,
but when I change resource for main program it does work that way.
Only seems to be a problem with new instance of e.g dialog.
BTW satelite dlls work that way you do use same IDs.
I read in MSDN about that.
"Ajay Kalra" <ajaykalra@xxxxxxxxx> wrote in message
news:u9iqAvtGHHA.924@xxxxxxxxxxxxxxxxxxxxxxx
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: Ajay Kalra
- Re: resource dll problem
- From: Ajay Kalra
- Re: resource dll problem
- References:
- resource dll problem
- From: adamus
- Re: resource dll problem
- From: Ajay Kalra
- resource dll problem
- Prev by Date: Re: Why is VS 2005 so slow?
- Next by Date: Re: Something like "ping" for windows messages.
- Previous by thread: Re: resource dll problem
- Next by thread: Re: resource dll problem
- Index(es):
Relevant Pages
|
Loading