home *** CD-ROM | disk | FTP | other *** search
- From: slo@otter.hpl.hp.com (Steve Loughran)
- Date: Wed, 4 Nov 1992 11:31:03 GMT
- Subject: Re: Message passing from DLL routine to VB
- Message-ID: <59700008@otter.hpl.hp.com>
- Organization: Hewlett-Packard Laboratories, Bristol, UK.
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!caen!sdd.hp.com!scd.hp.com!hpscdm!hplextra!otter.hpl.hp.com!otter!slo
- Newsgroups: comp.os.ms-windows.programmer.misc
- References: <1992Nov3.151348.15255@serval.net.wsu.edu>
- Lines: 15
-
- >I have a data acquisition programming running in background as a
- >DLL and would like it to notify my VB program when it is done. Is there
- >an easy way of doing this without using DDE?
-
- Just send a message which your VB program can handle.
- The one i've used in the past is just WM_CHAR with wParam set to a low
- number which the user wouldn't normally press (16 & 17 are good)
- This should be sent to whatever window your VB app passes to the DLL -almost
- any control will do. This control just handles the KeyPress(keyascii)
- event and checks for keyascii=17.
-
- Fairly tortuous but easy to do...
- Steve
-
-
-