The problem is that it’s giving us a “System Error. Code: 1400. Invalid Windows Handle” message box.
when using the megademo sample.
the server, works fine, but when try the client, 90% of the time, i got that error, and appears that the log windows is not working… then when exit, i got:
EXEPTION EOSERROR IN MODULE MEGADEMOCLIENT.EXE
AT 0030FB0
SYSTEM ERROR.CODE: 1400
EL IDENTIFICADOR DE LA VENTANA NO ES VALIDO.
I guess that the message in english is:
** “System Error. Code: 1400. Invalid Windows Handle” message box.**
i am using the last RO SDK Delphi version.
Thin happen always, but i just ask right now, because i want to measure some timings with the servers and cases.
Does this happen when you run the client in the debugger, our outside? If inside, does the IDe show any exceptions (in VS you might have to turn on to break on all exception types, because some are ignored silently, by default).
What version and platform of Remoting SDK do you use? .NET or Delphi?
I saw this issue when I’ve used Delphi 11.x in VMWare virtual machine: VCL controls (like TComboBox or TMemo) weren’t initialized correctly. it was unstable issue and it wasn’t related to our components so I have ignored it.
It was solved for me with full rebuild of application.
You are right, i know now, that this is an issue with delphi itself and not the SDK REMOTE software.
In this case i just put in oncreate event of the main form (Memo.Clear) in the client program, and it works perfect now, thanks for you comments helping me to find a solution.