tags:

views:

79

answers:

3

how to use RIOT dll in C# application? is there a way that i can use it in my program.

+1  A: 

According to RIOT's developer reference guide, "Riot.dll can be used with any programming language capable of using dynamic link libraries. This includes C/C++, Visual Basic, C#, Object Pascal/Delphi, Perl."

So I would say, yes, you can use it in your C# application.

Tim S. Van Haren
I think he/she means how not if
rdkleine
+1  A: 

You need to do a [DLLImport("RIOT.dll")] tag over your methods using the header files, as I have done with the Bass project. It isn't that hard, you can probably find examples on the internet.

Richard J. Ross III
+1  A: 

It's called p/Invoke. This article tells you (almost) everything you need to know about the subject. It is specific to the Win32 API, but your RIOT API will work exactly the same way. http://msdn.microsoft.com/en-us/magazine/cc164123.aspx

Tergiver
Hey thanks a lot for your help article which u provided is really helpful to me and I got to learn some thing new from you. Thanks.
mehul9595