Re: Alternative to 'AfxSetResourceHandle'
I don't think size would be the issue. All of the resources have to be in
each resource DLL anyway so whether they are the same or not is kind of
moot. The only one I've had to keep the same is the icon that is used by
the program by Windows (first one in the EXE). I also get the version
number from the EXE and so I set the version number in each resource DLL to
something my main EXE checks when it starts up (as a safeguard against using
a resource DLL that is down level). I wouldn't want my main program icon to
be different for different languages anyway, but any other bitmap or icon
could be different (as it turns out we try really hard to use the same ones
and just make them as innocuous as possible.
Tom
"Mihai N." <nmihai_year_2000@yahoo.com> wrote in message
news:Xns98FD47752E9MihaiN@207.46.248.16...
It means, I must create the same bitmap in
any resource DLL I use, but I don't want to do that. I want to
translate only localizable resources, the rest ones must reside in the
EXE.
So, what is the problem with the same bitmap in each language?
One of the problems with developers deciding "this is not localizable"
is that sometimes, after translating 20 languages, the translators for
language 21 might say "well, for language Z this image is offensive"
or whatever. And you sudenly have to change your code.
So, again, what is the big deal with duplication? Size?
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email