Calling 'C' func through W2k DLL?

Hello everyone,

I'm trying to access a Windows DLL called nidaqmx.dll.

The function is:
int32 DAQmxCreateTask (const char taskName[], TaskHandle *taskHandle);

I thought that maybe I need to use ruby-win32ext but, I am not sure
how. I would greatly appreciate any input!

Thank you,

Todd

piir@earthlink.net (Todd Gardner) wrote in message news:<9b849915.0406090131.715d9661@posting.google.com>...

Hello everyone,

I'm trying to access a Windows DLL called nidaqmx.dll.

The function is:
int32 DAQmxCreateTask (const char taskName, TaskHandle *taskHandle);

I thought that maybe I need to use ruby-win32ext but, I am not sure
how. I would greatly appreciate any input!

Thank you,

Todd

Here's a very generic question... how can I access a Windows dll?

Todd Gardner wrote:

Hello everyone,

Moin!

Here's a very generic question... how can I access a Windows dll?

Use Ruby/DL. It's part of the standard Ruby distribution.

See http://ttsky.net/ruby/ruby-dl-sample/win32/ for some sample code.

Regards,
Florian Gross

Florian Gross <flgr@ccan.de> wrote in message news:<2ir86iFqn8qqU1@uni-berlin.de>...

Todd Gardner wrote:

>>Hello everyone,

Moin!

> Here's a very generic question... how can I access a Windows dll?

Use Ruby/DL. It's part of the standard Ruby distribution.

See http://ttsky.net/ruby/ruby-dl-sample/win32/ for some sample code.

Regards,
Florian Gross

How could I have found this is ruby?