Doing some debugging, I saw that the error happens in toolpaint.dll
If I rename this dll, PSP starts correctly, without errors, but of
course the painting functions offered by that dll are not present in
the tools palette. I even tried to replace the dll with another taken
from a working installation on another PC, but no joy.
Any suggestions ? TNX.
-Fred