Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Software

Reply
 
Thread Tools Display Modes
  #1  
Old 08-25-2005, 11:15 AM
Menneisyys
5000+ Posts? I Should OWN This Site!
Join Date: Jun 2007
Posts: 5,067
Default Relocating connect2internet Pro 3.x from the main memory Ė free up over 2 Mbytes!

Now that Iíve finished writing this phone manager app roundup (well worth reading, as usual ) and started working on another that discusses Internet connection helper utilities (which will be published in 1-2 days), Iíve scrutinized the memory-hog c2i.

connect2internet Pro 3.x is another RAM memory usage-wise, sloppily written app that is worth some investigation if you want to free over 2 Mbytes of memory. Iíve played today with the app for some time and can producly present my results:

1, relocate the Today plug-in DLL (c2itoday.dll, 139k) to the File Store and, in the Registry, make [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Today\Items\"Connect2Internet"\DLL point to the new location:



2, relocate the two PIM plug-in DLLís (c2ipimcalldll.dll - 132k - and c2ipimsmsdll.dll Ė 138k -) to anywhere (not necessarily to the boot-time File Store). Modify HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PimApps\PimExtensions\Contacts\AddIns\c2iDialer\DLL and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PimApps\PimExtensions\Contacts\AddIns\c2iSMS\DLL accordingly:



3, In order to be able to relocate the full contents of \Program Files\c2i pro to an external card, youíll need to edit [HKEY_LOCAL_MACHINE\SOFTWARE\Apps\2K development connect2internet pro\InstlDir] to point to the new direction:



With this, you can safely move the entire above-mentioned directory

4, unfortunately, \Windows\Dialer (around 1 Mbytes in size) canít be moved. However, you can delete/relocate the theme (thm) files inside. You will only need them when you first run Dialer from inside c2i (or choose Menu/Options in it, to, say, set up a new communications port or another dialpad skin). Otherwise, the Dialer application will only use the uncompressed contents of the theme subdirectory (thatís where it decompresses the chosen theme) and you can safely delete/move the .thm files from its parent directory.

Please note that Iíve tried to hexedit dialer.exe and connect.exe to relocate \Windows\Dialer, but in vain. That is, hexediting, which can be seen in the following screenshots, seem to be, for some reason, futile:









5, you may also want to change the paths in version.info so that the updater utility also works.

Congratulations! Youíve relocated/deleted over 2 Mbytes from main RAM!
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:17 PM.