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

Sergey Posokhov

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 6
  • Posts: 119
    • 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
  • *****
  • Thank You
  • -Given: 393
  • -Receive: 79
  • Posts: 2377
  • 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
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 149
  • Posts: 2117
    • 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.