Article View: borland.public.cppbuilder.nativeapi
Article #4501Re: Sending a message to a DLL ??
From: Remy Lebeau (TeamB)
Date: Tue, 17 Jan 2006 20:23
Date: Tue, 17 Jan 2006 20:23
17 lines
1634 bytes
1634 bytes
"David" <davids@unite.com.au> wrote in message news:43c8550e@newsgroups.borland.com... > Actually I just want to send a user initiated reset flag back to > the DLL so that it can start a certain procedure from the > beginning. One thing you can do is have the DLL create a named event object via CreateEvent() and then have the DLL monitor it via one of the WaitFor...() functions. Applications can then open the event via OpenEvent() and signal it via SetEvent() or PulseEvent() whenever they want to. When the WaitFor...() function indicates that the event has been signalled, the DLL can do whatever it need to in response. Gambit
Technical Details
Message-ID:
<43cd5190$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43c720fc$1@newsgroups.borland.com> <43c73b61$1@newsgroups.borland.com> <43c8550e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e4786eb214cba813 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43c720fc$1@newsgroups.borland.com> <43c73b61$1@newsgroups.borland.com> <43c8550e@newsgroups.borland.com> Subject: Re: Sending a message to a DLL ?? Date: Tue, 17 Jan 2006 12:23:32 -0800 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <43cd5190$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137529232 68.69.17.41 (17 Jan 2006 12:20:32 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail