OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Utilities => Topic started by: Sergey Posokhov on August 30, 2015, 11:23:20 am

Title: Highmem.exe and Pmwp.dll - it will not work!
Post by: Sergey Posokhov on August 30, 2015, 11:23:20 am
Yesterday I patched "Pmwp.dll" using "Highmem.exe" to make it load above 512 MB.
Not only PM doesn't start after that patch...
DMT immediately broke WPS INI files.  :o
I used WPS Backup (http://hobbes.nmsu.edu/h-browse.php?dir=/pub/os2/util/wps) to restore them (DMT also has backup/restore capabilites).
Don't try to repeat this experience.

Of course, FireFox 31+ works well. (http://www.os2world.com/forum/index.php/topic,803.msg7933.html#msg7933)
Title: Re: Highmem.exe and Pmwp.dll - it will not work!
Post by: Martin Iturbide on September 01, 2015, 11:26:02 pm
Hi Sergey.

I never tried that patching. Do you have some documentation to experiment with it?


Regards.
Title: Re: Highmem.exe and Pmwp.dll - it will not work!
Post by: Dave Yeo on September 02, 2015, 12:54:40 am
I think that any DLL that touches or uses 16 bit API is going to fail when loaded high, this probably includes most of the OS/2 system including desktop and networking.
To experiment just use highmem -b pmwp.dll (or whatever DLL you want to test). You can also try just loading the code or data high, run highmem -? to get all the options. When things go wrong use highmem -u pmwp.dll to unmark it. Make sure you have an alternate method of booting and don't be surprised if the system traps.