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

Marc Lavallée odradek at videotron.ca
Wed Feb 18 18:03:24 CET 2004


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