Re: resource dll problem
- From: "Tom Serface" <tserface@xxxxxxx>
- Date: Fri, 8 Dec 2006 07:38:43 -0800
Hi Adamus,
When you create the separate bitmaps did you make sure that the resources
links in the .RC file point to the different bitmaps/icons/cursors/whatever
files in the various languages? If you just copy the original file and
translate it the resource files will still be in the same place.
FWIW, I have the same IDs in all of my resource DLLs and the main program
finds them after I do the LoadLibrary() and AfxSetResourceHandle() calls.
Although, to be honest we use mostly the same icons for all languages.
Tom
You could try opening the DLL"adamus" <ss@xxxxxxxxx> wrote in message
news:e4%23i%23ntGHHA.2632@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
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
taken from new
resource dll but from main application(in main program). In that dialog
box 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
.
- References:
- resource dll problem
- From: adamus
- resource dll problem
- Prev by Date: printer configuration
- Next by Date: Re: resource dll problem
- Previous by thread: Re: resource dll problem
- Next by thread: Re: resource dll problem
- Index(es):
Relevant Pages
|