How to install DWSScript

I am having trouble installing the DWSScript component. I am using Delphi XE2, and when I try to compile dwsLibRuntime.dpk, I get an error message (array type required). I am using the latest DWScript source extracted from the svn repo project.

What am I doing wrong?

toStr:=TStringListCracker(sl).FList[i].FString; //produces error System.MonitorExit(sl); 
+3
source share
2 answers

You are not using the latest version, the monitor is no longer used (due to conflicting errors in the RTL implementation), the second line should read as "sl.FLock.Leave;". You are probably using the Delphi XE2 version since Monitor was disabled in February 2011.

http://code.google.com/p/dwscript/source/browse/trunk/Source/dwsUtils.pas#475

Make sure you are on the head / torso, or Delphi does not point to a different directory than the one updated by your SVN client.

+10
source

First of all, make sure you download the latest version from the main source , as DWScript 2.3 preview is now available.

Then you should notice on this page that every day you have changes to DWScript, so check where the error is (in which block), then go to the source code page to take the most recent units.

Personally, this happened to me, and after I fixed some changes, it worked fine.

+1
source

All Articles