🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #831

Re: DLL callbacks in VB

#831
From: Tommy Petersson
Date: Wed, 27 Jan 1993 09:51
24 lines
1408 bytes
hill@netcom.com (Tom Hill) writes:
: Hi -
: 
: Does anyone know if it is possible to register for callbacks from a DLL
: within visual basic 2.0? In particular, I would like to open a midi input
: device. The callback can either be to a function, or as a message posted
: to a window. (I'd like to be able to do both).
: 
: Any suggestions appreciated.
: 
: Tom Hill


It doesn't seem to be possible to do that directly in Visual Basic (though
I may be wrong). I beleive you will have to write a VBX (normally in C) and
add it to your VB environment.

Desaware sells an add-on, "SpyWorks-VB", that seems to do that and more.
I beleive MicroHelp has a CallBack VBX as well.

-- 
=============================================================================
 Tommy Petersson              tope@enea.se              Enea Data AB, Sweden
=============================================================================
Technical Details
Message-ID: <1993Jan27.095158.24798@enea.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!sgiblab!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!seunet!enea!tope
References: <1993Jan27.052553.18010@netcom.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!sgiblab!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!seunet!enea!tope
From: tope@enea.se (Tommy Petersson)
Subject: Re: DLL callbacks in VB
Message-ID: <1993Jan27.095158.24798@enea.se>
Organization: Enea Data AB
X-Newsreader: Tin 1.1 PL3
References: <1993Jan27.052553.18010@netcom.com>
Date: Wed, 27 Jan 1993 09:51:58 GMT
Lines: 25