We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpElectronics,  Serial Library › Including external functions from DLL
Page Index Toggle Pages: 1
Including external functions from DLL (Read 1098 times)
Including external functions from DLL
Oct 17th, 2008, 7:35pm
 
Hello,

I have a device, a multiplexer of sorts, that I've ordered to a company to be custom built. Now, they said something like this:

------
You will receive a Win22 DLL containing functions to access the outputs:
SetOutputs(nr_placa, sir_valori_40_iesiri)
GetOutputs(nr_placa, sir_valori_40_iesiri)


[the params are not important for this thread]
With th provided DLL, you can integrate the board's controls in any programing language without worrying about protocols and such.
------

Now, my question is, how can I access the said functions from Processing? Do I copy the dll and include it somehow? Thanks.
Re: Including external functions from DLL
Reply #1 - Dec 2nd, 2008, 5:00pm
 
Try this...

http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1218496724

I just did, and works albeit with quirks... only spent a little time so far though.

J.
Page Index Toggle Pages: 1