Tech Support > Computers & Technology > Programming > Change resource dll list while runtime
Change resource dll list while runtime
Posted by Bj?rn on October 8th, 2004


HY,

my problem is the following:

I want to give a very big application the ability, to change the
language at runtime. It's written in Visual C++ 6.0. All language
depending strings and so on, are already stored in different
resource-dll's. The way, I understand it, there is a list of
resources, which the application goes through, searching for strings.
For example my string is in stringa.dll in english. But I want to have
the application in French, which is all stored in stringb.dll.

Can I somehow replace the pointer (?) in the resource-dll-list with
another one? It's very circuitous to change the main resource pointer
(AfxSetResourceHandle()) all the time...

Thank you very much,

Bjoern