@leomagic: "Hi everyone,
I've implemented an APP that is a "bridge" between IE and a costom WebServer
using File Mapping instead of HTTP protocol;
Everything goes well; I've only a small cosmetic problem; if the WebServer
takes a few time to prepare the page, no feedback in IE is visible (tha
cursor is an arrow and the "flag" icon doesn't fly). I've tried
ReportProgress with BINDSTATUS_FINDRESOURCE, BINDSTATUS_CONNECTING but with
no success
Thank you
Leonardo"
    @itandetnik: "news:k9GYb.8543$<email_address>
<quote>
WebServer
WebServer
(tha
with
Do you suspend the thread while waiting for the server to respond, or do
you have an asynchronous mechanism in place? In other words, how does
the server notify you that the data is ready?
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken"
    @leomagic: "news:OgGW%<email_address>
<quote>
Both server and APP run on the same machine so we use window message as
notification mechanism; we use a GetMessage in the APP, that suspend the
thread (I think) untill the server has completed its job; after getting the
message the APP open a particular file mapping (that depends on a request
counter) and fill the buffer with the data for IE
Thank you
Leonardo"
    @itandetnik: "news:HJ4Zb.9178$<email_address>
<quote>
but
or do
does
as
the
getting the
request
You probably call GetMessage with a filter, as in GetMessage(&msg,
MyHWND, MyMessage, MyMessage). Yes, this suspends the thread and does
not let any other window messages to come through, IE is essentially
frozen.
You don't need to call GetMessage yourself. IE runs a message pump on
its main thread, that will deliver messages to your APP. Just wait for
the message to arrive, and report your progress to the client at this
point. Or invent some other asynchronous mechanism. You are currently
doing it synchronously, and that is very unfriendly.
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken"
    @leomagic: "Thank you Igor for your help
<quote>
I haven't understood how to be notified by IE
I implemented the GetMessage in the Start method; if I exit Start method
without waiting for a message, where will I receive the message?
Thank you
Leonardo
news:<email_address>"
    @itandetnik: "news:AUp_b.10762$<email_address>
<quote>
on
method
In your window proc, of course. You are creating a hidden window to
receive notifications, right?
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken"
{'source': 'USENET', 'other_information': '{"reply_count": 5, "forum_name": "microsoft.public.inetsdk.programming.urlmonikers.20140710.mbox"}', 'file': 'data/output/usenet-microsoft.public.parquet'}