[PD] Calling a function in a DLL from PD?

rr lolailo at earthlink.net
Wed Feb 18 19:36:03 CET 2004


The microcontroller uses usb, and the dll has many nice functions that I
would not want to have to write again.
Anyone has an example of code calling a function in another dll in
flext?
Thanks


-----Original Message-----
From: Marc Lavallée [mailto:odradek at videotron.ca] 
Sent: Wednesday, February 18, 2004 12:03 PM
To: rr
Cc: pd-list at iem.at
Subject: Re: [PD] Calling a function in a DLL from PD?

On Wed, Feb 18, 2004 at 11:38:46AM -0500, rr wrote:
> I have a DLL that contains a set of functions to read and write ports
to
> a microcontroller.

What so special about the communication protocol of the microcontroler?
Does it work with a serial port using human readable commands? Because
you
might not need the DLL, and you could build a cross-platform patch.

> I also have an OCX with the same functions
> Is it possible to call the functions in the DLL or OCX from pd? 
> If so. could somebody point me in the right direction?
> Where would I script the call?
I think you'd have to program an object in C that uses the DLL.
As usual, I recommend flext.  
--
Marc





More information about the Pd-list mailing list