View Single Post
  #1 (permalink)  
Old 09-09-2010, 08:34 AM
00smita's Avatar
00smita
N00b
Offline
 
Join Date: Jul 2010
Posts: 27
Reputation: 0
00smita is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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?

.

Last edited by 00smita; 09-09-2010 at 08:41 AM.