Author Topic: Highmem.exe and Pmwp.dll - it will not work!  (Read 9203 times)

Sergey Posokhov

  • Full Member
  • ***
  • Posts: 169
  • Karma: +8/-6
    • View Profile
    • OS/2 API Research
Highmem.exe and Pmwp.dll - it will not work!
« 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 to restore them (DMT also has backup/restore capabilites).
Don't try to repeat this experience.

Of course, FireFox 31+ works well.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4710
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Highmem.exe and Pmwp.dll - it will not work!
« Reply #1 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.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: Highmem.exe and Pmwp.dll - it will not work!
« Reply #2 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.