Log in

View Full Version : Managed to relocate the SPP Today Plug-in DLL to the File Store too! :)


Menneisyys
07-29-2005, 03:07 PM
In my article on relocating the latest (3.0) Spb Pocket Plus (SPP) out of main memory (http://www.ipaqhq.com/forums/showthread.php?t=20051), I still couldn’t say anything on relocating the 443k-long PlusTodayPluginMFC.dll to an alternative storage medium.

Now that I have scrutinized SPP more, found out that the PlusTodayPlugin.dll directly referred from the Registry as the main Today plug-in DLL has the traditional path of PlusTodayPlugin.dll wired-in, starting at position 0x1555:

http://winmobiletech.com/kuvat/SPPTodayPluginHack-1.bmp.png

Many programs do the same, and the way of relocating these apps I’ve described here (http://www.pocketpcthoughts.com/forums/viewtopic.php?t=35581) works great with SPP too. That is, you need to rename the DLL to something shorter (fortunately, it has a long name so users of File Stores even with extra long names like ‘iPAQ File Store’ will be able to relocate their so that you can also include the name of their file store and the subdirectory to store the DLL in. In my case, I’ve renamed the plug-in DLL to SPPluginMFC.dll because I keep my shared/relocated DLL’s in \LOOXstore\dlls and, using this new, shorter name would have resulted in a name of the same size (it can be shorter – you’ll then have to close it with a 00 00 double-byte, as with all other strings; however, it can’t be longer than the original because a new string starts at 0x1594).

That is, you’ll need to do the following:

1. go to Settings/Today/Items and disable the SPP Today plug-in
2. transfer PlusTodayPlugin.dll to the desktop to be edited. It’ll be in the home directory (not in \Windows!) of SPP.
3. edit the file with a hex editor. I recommend for example this one (http://www-physics.mps.ohio-state.edu/~prewett/hexedit/index.html) because it’s free. I’ve posted a step-by-step tutorial of using that particular hex editor here (http://www.firstloox.org//forums/showpost.php?p=23343&postcount=53) (with a different file and changes, but it’s using the hex editor that counts, and not the file you’re editing). In order to avoid transferring PlusTodayPlugin.dll to the desktop, you may also want to give a try to SKHexEd ( http://www.s-k-tools.com/fp/viewtopic.php?t=161) to hexedit the file right on your PDA. It should look like this (again, the path name and the file name will be different on non-Loox devices!):

http://winmobiletech.com/kuvat/SPPTodayPluginHack-2.bmp.png

4. transfer the file back to the SPP home, overwriting the old version.
5. relocate \Windows\PlusTodayPluginMFC.dll to the new location in the File Store, renaming it to the new, shorter name at the same time.
6. enable the SPP Today plug-in

Congratulations! You’ve got rid of another 443 kbytes! :D

Please let me know if you need help. You may also want to read my other article I’ve written on similar subjects today (http://www.ipaqhq.com/forums/showthread.php?p=101534).