XTPResourceManager() and multiple resource .DLLs. |
Post Reply |
Author | |
ddlittle
Senior Member Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
Post Options
Thanks(0)
Posted: 28 April 2011 at 12:50pm |
We are implementing localizations using XTPResourceManager(), and it works great in most cases. We are having a hard time figuring out how to use it to grab strings from more than one location. for example:
p1.exe
d1.dll d2.dll d3.dll d1, d2, and d3.dll all contain resources. I've created resource files (p1RU.dll, d1RU.dll,d2RU.dll,d2RU.dll), but the only way we've found so far to grab resources from d1RU.dll is via LoadLibrary() and using that instance handle to AfxSetResourceHandle().
As long as the resource is actually *IN* d1RU.dll, then that's fine, but if it isn't, we have to manually search for the resource in d1.dll. XTPResourceManager() handles this fine, but since it's static, i don't think i can have more than one per process.
Any ideas?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |