Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread First Collector
Wed, Mar 28 2012 8:31 AMPermanent Link

Bernd Apel

Hello, if i compile cd collector then get i the error message.


procedure TMainForm.RequestComplete(Request: TServerRequest);
begin
  if (Request.StatusCode=200) then
     begin
     if Assigned(Request.Data) then
        begin
        with TDataSet(Request.Data) do
           begin
           Open;
           LoadRows(Request.ResponseContent.Text);
           end;
        end;
     end
  else
     raise Exception.Create('Response Error: '+Request.StatusText);
end;


raise Exception.Create('Response Error: '+Request.StatusText);
in this line (Error) Main.wbs: The referenced Variable, parameter, or function Exception does  not exist.
Thu, Apr 5 2012 1:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bernd,

<< Hello, if i compile cd collector then get i the error message. >>

Please change that line to:

     raise EError.Create('Response Error: '+Request.StatusText);

This was changed in a recent build (removal of Exception classes) due to the
fact that exception descendants don't report error information correctly in
most web browsers.

I'll be updating the CDCollector application shortly with this fix and some
more improvements.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image