Article View: comp.os.ms-windows.programmer.misc
Article #1805DLL-question
From: Raymond van der Laan
Date: Tue, 15 Dec 1992 14:47
Date: Tue, 15 Dec 1992 14:47
30 lines
1103 bytes
1103 bytes
Is this possible in a DLL:
... x;
... y;
f1 ()
{
y = GlobalAlloc(...);
x = GlobalLock(y);
PeekMessage()
if ours then memcpy(x,...,...);
else Translate & DispatchMessage
...
}
f2 (a)
{
memcpy(a, x, ...);
GlobalFree(y);
}
The caller calls f1, then f2.
--
Raymond van der Laan Email: sun4nl!media01!rla
Mediasystemen BV Tel. : +31 23-319075
Haarlem Fax : +31 23-315210
The Netherlands
'There is no masterplan.
This is what we do now.'
- Stuart Adamson
Technical Details
Message-ID:
<2914@media03.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!media03!rlaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!media03!rla From: rla@media03.UUCP (Raymond van der Laan) Newsgroups: comp.os.ms-windows.programmer.misc Subject: DLL-question Keywords: Alloc, Peekmessage Message-ID: <2914@media03.UUCP> Date: 15 Dec 92 14:47:18 GMT Organization: Mediasystemen, Netherlands Lines: 30