🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.tools
2 messages
2 total messages Started by Tom Hill Wed, 27 Jan 1993 05:25
DLL callbacks in VB
#834
Author: Tom Hill
Date: Wed, 27 Jan 1993 05:25
10 lines
697 bytes
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
Re: DLL callbacks in VB
#831
Author: 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
=============================================================================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads