When i try to install RemObjects Elements - 10.0.0.2289
i always get the Error in uROSynapseSuperHttpChannel Line 112:
uROSynapseSuperHttpChannel.pas(115,28) Error: Incompatible types: got “TThreadID” expected “LongInt”
function TROSynapseSuperHTTPChannel.CreateWorkerThread: TThread;
begin
Result := inherited CreateWorkerThread;
fWorkerThreadId := Result.ThreadID;
end;
Error:
Project raised exception class ‘RunError(232)’
The Problem occurs on the Line: (RORemoteService2 as IBaseLoginService).LoginEx(Relativity_Connection_String);
The Same code runs without a Problem on Windows. The Connection_String is the same.
procedure TDM.setup_connection(Sender: TObject);
begin
ROAESEncryptionEnvelope.Password:= sync_aes;
ROIndyHTTPChannel1.TargetUrl:= sync_server;
RemoteDataAdapter_Login.TargetURL:=sync_server;
try
// Try first AES with TLS
(RORemoteService2 as IBaseLoginService).LoginEx(Relativity_Connection_String);
Except
begin
ROBinMessage1.Envelopes.Delete(0);
(RORemoteService2 as IBaseLoginService).LoginEx(Relativity_Connection_String);
end;
end;
setup_dataset(Sender);
end;
File IdIOHandlerStack
Line 465
constructor TIdConnectThread.Create(ABinding: TIdSocketHandle);
begin
FBinding := ABinding;
inherited Create(False);
end;
function ZDecompressCheck(code: Integer; raiseBufferError: Boolean = True): Integer;
begin
Result := code;
if code < 0 then
begin
if (code <> Z_BUF_ERROR) or raiseBufferError then
begin
raise EZDecompressionError.Create(code);
end;
end;
end;
I have no access to Mac OSX at this moment …
as a temporary workaround, you can disable ZLIB compression in BinMessage and GZip compression in http servers