This is part of my scripts that fail with error code:213
I assume it is the wwprc44i.dll causing the problem.
Note the copy below has all the lines commented out to make the rest of the script run ok.
It's just a thing I put in wbt scripts to run winbatch at high priority.
Here's the part of the scripts that cause the error:
;;;SET WINBATCH TO HIGH PRIORITY
;AddExtender("WWPRC44I.DLL")
;Processlist=tListProc()
;lookfor="Winbatch"
;ptr=StrIndexNC(processlist,lookfor,0,@FWDSCAN)
;If ptr==0
; Message(lookfor,"Not found")
; Exit
;EndIf
;ptr=StrIndex(processlist,"|",ptr,@FWDSCAN)
;ptr2=StrIndex(processlist,@TAB,ptr,@FWDSCAN)
;If ptr2==0;if last item in list
; pid=StrSub(processlist,ptr+1,-1)
;Else
; pid=StrSub(processlist,ptr+1,ptr2-ptr-1)
;EndIf
;;;Message(lookfor,pid)
;ret = tSetPriority(pid,128);set to high priority
How can I fix this problem?