compiling pascal script update package error lazarus / 1-Linux ---------------------------------------------------------------------- opendelphi · 2019-03-08 14:03 since i was looking for a solution to support rawbytestring on Pascal Script , actually i have found that there are many developers looking for the same urgent request . a developer send pull request , providing a fix , an update to support it with many others . https://github.com/remobjects/pascalscript/issues/145 so the updated package is on https://github.com/pult/pascalscript , but when try to compile it or install it there are some errors specially : Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i uPSRuntime.pas(5223,26) Error: Identifier not found "wstrlen" any hint ! ---------------------------------------------------------------------- rvk · 2019-03-08 14:58 Not sure, but I think wstrlen(pwidechar) is the same as strlen(pwidechar). They are both referenced in the source to FPC_PWIDECHAR_LENGTH. So you could change the wstrlen to strlen. Otherwise adding this to the top of unit uPSRuntime seems to make it compilable in Win32. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i function wstrlen(p: PWideChar): SizeInt; external name 'FPC_PWIDECHAR_LENGTH';