
The latest one was because a procedure had .l instead of .i in it for a variable.
This got me thinking: should I just do a search/replace of all .l with .i in my sources? Or just when I get a crash for a procedure or command?
Code: Select all
Define pName.i ; Was pName.l before, but this doesn't work with 6.10.
If *pIAcc\get_accValue(vt,@pName)=#S_OK
*Value\s=Space(SysStringLen_(pName)) ; Crash if .l is used for pName.
PokeS(@*Value\s,PeekS(pName))
SysFreeString_(pName)
EndIf