Log in

View Full Version : Is it possible to relocate Conduits Peacemaker from the main memory?


Menneisyys
09-07-2005, 08:26 PM
Over at Pocket PC Magazine (http://www.pocketpcmag.com/forum/topic.asp?TOPIC_ID=15329), the chances of relocating Conduits Peacemaker 1.2 from the main memory has been asked about.

Therefore, I've scrutinized the app and found out the following: it takes quite much effort (involving a lot of hexediting of four DLL files + registry editing) to relocate Peacemaker if you plan to use it from the three PIM apps Calendar, Contacts and Tasks because the four add-in DLL's

1, are directly linked from subkeys of

[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\PimApps\PimExtensions\

for example, for Contacts alone, you'll need to modify the wired-in \Windows path information in Registry two times to point to the new DLL location:

[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\PimApps\PimExtensions\Contacts\ AddIns\ConduitsPeacemakerCard]
"Menu"="(( Card Exchange ))"
"DLL"="\\Windows\\PeacemakerCard.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\PimApps\PimExtensions\Contacts\ AddIns\ConduitsPeacemakerBeam]
"Menu"="(( Beam Selected ))"
"DLL"="\\Windows\\PeacemakerBeam.dll"

2, all invoke the main EXE file, Peacemaker.exe, using the wired-in \Windows path. This means you need to hexedit all these DLL files to change the path of Peacemaker.exe.

That is, if you just relocate the files to somewhere else without Registry modification (if you also relocate the small DLL's) and/or serious DLL hexedits (if you relocate the 306 kbyte EXE file), none of the PIM add-ins will work. If, however, PeaceMaker is started by clicking its icon, it will - so, there is a point in relocating it!

If the latter case is OK with you (that is, you don't plan to access PeaceMaker's functionality from inside PIM apps' context menus, just to run it by clicking the icon), you can safely relocate the Peacemaker.exe file. Just delete the four Peacemaker*.dll's (6656 bytes each). Unfortunately, without hexediting the EXE file, you won't be able to relocate the 18k pmtitle.bmp either (Peacemaker.exe uses an absolute path while accessing it).

To clean up the now-not-existing DLL references, you can delete them by hand, but make sure you don't delete all subkeys under, say, [HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\PimApps\ PimExtensions\ Contacts\AddIns\ (if you clean up Contacts) because it also has the Widcomm BT stack-related addons too, so, you'll also lose the Dial/Send via Bluetooth menu items as well! Therefore, it's advisable to use some kind of Pocket PC cleanup tool (http://www.pocketpcthoughts.com/forums/viewtopic.php?p=360617) like SKTools or MemMaid to automatically delete the invalid Registry entries. This will also get rid of your now-non-working menu entries in the three above-mentioned PIM applications, so, you won't click them by mistake.

Recommended reading: my other relocation-related articles (this was the nth of them) either at Windows Mobile Technology (http://www.winmobiletech.com/) or at the PPCMag Tips forum (http://www.pocketpcmag.com/forum/forum.asp?FORUM_ID=4).