H
Harry
I set up 2 projects, one is a stand alone program and the
other is an embedded dll (hosted in IE).
The stand alone sets up a socket server, the dll then
creates in its turn a server, a client, and sends to the
stand alone server its server ip/port.
The stand alone program displays in an edit box what the
dll sent, and the dll does the same although displaying
the results in the text of a button.
If I just send data from the stand alone to the dll, or
from the dll to the stand alone there is no problem,
however if I send both simultaneously the dll freezes. If
I comment out the display of the response in the button,
it doesn't have any problem.
The event that changes the button text is fired in a
thread in the server of the dll (asynchronous server),
maybe that's why I can't change the UI as I want ? (it
doesn't work with labels either)
If anyone has any idea I'd appreciate it a lot ...
other is an embedded dll (hosted in IE).
The stand alone sets up a socket server, the dll then
creates in its turn a server, a client, and sends to the
stand alone server its server ip/port.
The stand alone program displays in an edit box what the
dll sent, and the dll does the same although displaying
the results in the text of a button.
If I just send data from the stand alone to the dll, or
from the dll to the stand alone there is no problem,
however if I send both simultaneously the dll freezes. If
I comment out the display of the response in the button,
it doesn't have any problem.
The event that changes the button text is fired in a
thread in the server of the dll (asynchronous server),
maybe that's why I can't change the UI as I want ? (it
doesn't work with labels either)
If anyone has any idea I'd appreciate it a lot ...