C# API Reference

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Hi,
Can anyone point me towards an online tutorial for using APIs in C#,
particulary the Odbc APIs.
Cheers,
Jason
 
Try this for starters..
http://www.aspemporium.com/aspEmporium/cshrp/howtos/howto.asp?hid=9 and
look around for System.Runtime.Interopservices which you need to reference
for API Interaction. This is C++ but the translation is pretty
straightforward to C# http://www.developerfusion.com/show/2118/, this might
work for you too http://www.dotnet247.com/247reference/msgs/10/50310.aspx

BTW, if you are interested in really learning how to use API Calls in C#,
John Paul Mueller's Microsoft .NET Solutions, In Search of the Lost Win32
API is great!.

HTH,

Bill

(I'd change my email address in my post to soemthing like
(e-mail address removed) --- or you may end up gettting
solicitations to enlarge the size of your p3Nis or refininance your house -
I learned the hard way!)
 
Thanks Bill, these sources look good. I also found out today that the APIs
havent been implemented in C#, so will have to rely on my basic C++ skills.
Ive seen the book you recommend and it does look like it would be handy.
Cheers,
Jason
ps Thanks for the email advice! :-)
 
On Wed, 7 Jan 2004 00:41:51 -0000 in article
<[email protected]> in
microsoft.public.dotnet.languages.csharp , "Jason"
Thanks Bill, these sources look good. I also found out today that the APIs
havent been implemented in C#, so will have to rely on my basic C++ skills.
Ive seen the book you recommend and it does look like it would be handy.
Cheers,
Jason
ps Thanks for the email advice! :-)

Why not use ODBC.NET ? It allows you to access ODBC data sources via
ADO.NET - it's a separate download from MSDN somewhere.
Keeps clear of the API's!
 
Back
Top