View Single Post
  #1 (permalink)  
Old 10-08-2009, 01:38 PM
raidzero's Avatar
raidzero
N00b
Offline
Location: PPCG
 
Join Date: Dec 2008
Posts: 2,193
Reputation: 5220
raidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the communityraidzero is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to raidzero
read value from dll resource into registry entry

take cmhomeres.dll for example. it controls what all the stock titanium panels names are, among other things. what I am trying to do is make a new panel but I want its condensed name to not be hard-coded in the registry, but instead read from a text resource in cmhomeres.dll. In icons for the panels in the registry you can see them as resources from bronzeres.dll. How does one do this with text?


Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\ctest1\Page1]
"SK2Text"="test"
"TEXT1"="test"
"PICTURES"="\\Windows\\Start_icon_calendar.png"
"ACTIONURL"="\\Windows\\Calendar.exe"
"TEXT2"="cmhomeres.dll;1025"
"SK2URL"=""
this does not work of course, has anyone done this successfully?
__________________