Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XTPResourceManager() and multiple resource .DLLs.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTPResourceManager() and multiple resource .DLLs.

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: XTPResourceManager() and multiple resource .DLLs.
    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?
 
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.