Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] MacHIDMBS Callback Question (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] 6.5pr2
Next thread: [MBS] 6.5pr1


Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
  [MBS] MacHIDMBS Callback Question   -   Stuart Tevendale
   Re: [MBS] MacHIDMBS Callback Question   -   Christian Schmitz

[MBS] MacHIDMBS Callback Question
Date: 05.11.06 23:03 (Sun, 5 Nov 2006 22:03:40 -0000 (GMT))
From: Stuart Tevendale
Hi,
I'm trying to use MacHIDMBS to communicate with an HID device. I've
managed to find the device, open a connection to it, and send it a
message.

My question is how do I use the callback function to get the data back
from the device? Do I need to explicitly define an object in my project
with the parent/super MacHIDMBS, and use the 'ReceivedData' event it that,
or is there some other way to get the returned message?

Regards

Stuart Tevendale
OTAG Technologies Ltd
=eiSMARTtrain - Polar Download Software for Mac OS X
http://www.ismarttrain.com

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] MacHIDMBS Callback Question
Date: 06.11.06 01:24 (Mon, 6 Nov 2006 01:24:14 +0100)
From: Christian Schmitz
Stuart Tevendale <<email address removed>> wrote:

> Hi,
> I'm trying to use MacHIDMBS to communicate with an HID device. I've
> managed to find the device, open a connection to it, and send it a
> message.

Ok.

> My question is how do I use the callback function to get the data back
> from the device? Do I need to explicitly define an object in my project
> with the parent/super MacHIDMBS, and use the 'ReceivedData' event it that,
> or is there some other way to get the returned message?

You need to make a subclass of MacHIDMBS and fill code into the event
handler there. Just make such a subclass and replace any use of
MacHIDMBS with your class name.

Gruß
Christian

-