Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Calling 'C' func through W2k DLL?

Reply
Thread Tools

Calling 'C' func through W2k DLL?

 
 
Todd Gardner
Guest
Posts: n/a
 
      06-09-2004
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
 
Reply With Quote
 
 
 
 
Todd Gardner
Guest
Posts: n/a
 
      06-10-2004
(Todd Gardner) wrote in message news:<. 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?
 
Reply With Quote
 
 
 
 
Florian Gross
Guest
Posts: n/a
 
      06-10-2004
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
 
Reply With Quote
 
Todd Gardner
Guest
Posts: n/a
 
      06-11-2004
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?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
func() in implementation and func (100, 200, 300) in calling Alex Vinokur C Programming 6 11-18-2006 08:08 AM
href="javascript:func()" vs href="#" onclick="javascript:func()" CRON HTML 24 06-20-2006 08:05 PM
difference between import from mod.func() and x=mod.func() Hari Sekhon Python 0 06-20-2006 08:07 AM
What's the difference between built-in func getattr() and normal call of a func of a class Johnny Python 3 08-23-2005 08:28 AM
int func() v/s int func(void) Vinko Vrsalovic C Programming 14 01-24-2005 08:07 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57