Troubleshooting

Below are details on phreplace error message and possible fixes.
If these do not help you can comment out the line “On Error Resume Next” in
the phreplace.vbs script to get a more detailed error message.

Error 1: Unable to register library XXXXXXXX.dll
If the phreplace.dll library is not already registered or seems to be an old
version, the script will try to load the library, if this fails you will see
this error message. If the library seems to be an old version it will try to run
the old version after you click ok, if this fails of the library is not
registered you will see Error 2.
FIX: Copy phreplace.dll to the PSPad program folder
(e.g. C:\Program Files\PSPad\) or copy phreplace.dll to your Windows system
folder and type at a command prompt: regsvr32 “phreplace.dll”

Error 2: Unable to start phreplace add-on
The phreplace object could not be started, most likely because the library is
not loaded.
FIX: Copy phreplace.dll to the PSPad program folder
(e.g. C:\Program Files\PSPad\) or copy phreplace.dll to your Windows system
folder and type at a command prompt: regsvr32 “phreplace.dll”

Error 3: There was an error running the phreplace add-on
The phreplace object loaded ok but failed when performing an operation. This
could either be a bug or you may have an old version of phreplace.dll
FIX: Download and install latest version of phreplace

See Also