Calling 'C' func through W2k DLL?

Discussion in 'Ruby' started by Todd Gardner, Jun 9, 2004.

  1. Todd Gardner

    Todd Gardner Guest

    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
    Todd Gardner, Jun 9, 2004
    #1
    1. Advertising

  2. Todd Gardner

    Todd Gardner Guest

    (Todd Gardner) wrote in message news:<>...
    > 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, Jun 10, 2004
    #2
    1. Advertising

  3. 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, Jun 10, 2004
    #3
  4. Todd Gardner

    Todd Gardner Guest

    Florian Gross <> wrote in message news:<>...
    > 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?
    Todd Gardner, Jun 11, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CRON
    Replies:
    24
    Views:
    200,425
    Adrienne Boswell
    Jun 20, 2006
  2. Johnny
    Replies:
    3
    Views:
    442
    Robert Kern
    Aug 23, 2005
  3. Hari Sekhon
    Replies:
    0
    Views:
    484
    Hari Sekhon
    Jun 20, 2006
  4. Vinko Vrsalovic

    int func() v/s int func(void)

    Vinko Vrsalovic, Jan 21, 2005, in forum: C Programming
    Replies:
    14
    Views:
    1,284
    Villy Kruse
    Jan 24, 2005
  5. Alex Vinokur
    Replies:
    6
    Views:
    342
    Tor Rustad
    Nov 18, 2006
Loading...

Share This Page