Hi,
Can anyone point me towards an online tutorial for using APIs in C#,
particulary the Odbc APIs.
Cheers,
Jason 3 4307
Try this for starters.. http://www.aspemporium.com/aspEmpori...owto.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/247referenc.../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 ja**********************@blueyonder.co.uk --- or you may end up gettting
solicitations to enlarge the size of your p3Nis or refininance your house -
I learned the hard way!)
"Jason" <ja**********@blueyonder.co.uk> wrote in message
news:uO****************@news-binary.blueyonder.co.uk... Hi, Can anyone point me towards an online tutorial for using APIs in C#, particulary the Odbc APIs. Cheers, 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! :-)
"William Ryan" <do********@nospam.comcast.net> wrote in message
news:#Z**************@TK2MSFTNGP12.phx.gbl... Try this for starters.. http://www.aspemporium.com/aspEmpori...owto.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/247referenc.../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 ja**********************@blueyonder.co.uk --- or you may end up gettting solicitations to enlarge the size of your p3Nis or refininance your
house - I learned the hard way!)
"Jason" <ja**********@blueyonder.co.uk> wrote in message news:uO****************@news-binary.blueyonder.co.uk... Hi, Can anyone point me towards an online tutorial for using APIs in C#, particulary the Odbc APIs. Cheers, Jason
On Wed, 7 Jan 2004 00:41:51 -0000 in article
<kB****************@news-binary.blueyonder.co.uk> in
microsoft.public.dotnet.languages.csharp , "Jason"
<ja****************@blueyonder.co.uk> wrote: 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! :-)
"William Ryan" <do********@nospam.comcast.net> wrote in message news:#Z**************@TK2MSFTNGP12.phx.gbl... Try this for starters.. http://www.aspemporium.com/aspEmpori...owto.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/247referenc.../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!.
"Jason" <ja**********@blueyonder.co.uk> wrote in message news:uO****************@news-binary.blueyonder.co.uk... > Hi, > Can anyone point me towards an online tutorial for using APIs in C#, > particulary the Odbc APIs. > Cheers, > Jason >
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!
--
Simon
simon dot smith at snowvalley dot com
"Insomnia is a small price to pay for the stuff you read on UseNet" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: RU |
last post by:
Hi,
I am working on a porting project to port C/C++ application from
unixware C++, AT&T Standard components to g++ with STL on Linux. This
application has been working properly on...
|
by: Mr A |
last post by:
Hi!
I've been thinking about passing parameteras using references instead
of pointers in order to emphasize that the parameter must be an
object.
Exemple:
void func(Objec& object); //object...
|
by: Doug |
last post by:
Is there any harm in passing an object into a method with the 'ref'
keyword if the object is already a reference variable? If not, is
there any benefit?
|
by: Abe Frohnman |
last post by:
Hello all,
I'm passing a reference to a class into the constructor of a form, like
so: public MyForm(int count, ref Area myArea) {...}
How can I use myArea outside the constructor? Should I...
|
by: z_learning_tester |
last post by:
I'm reading the MS press C# book and there seems to be a contradiction.
Please tell me which one is correct, 1 or 2.
Thanks!
Jeff
1. First it gives the code below saying that it prints 0 then...
|
by: al.cpwn |
last post by:
I get that these two are different
int* get()
{
static int m;
return &m;
}
int& get()
{
|
by: Kuku |
last post by:
What is the difference between a reference and a pointer?
|
by: David W |
last post by:
I'm almost tearing my hair out. A colleague claimed that a null reference can exist, like
this:
void f( int& p )
{
printf( "%d\n", p );
}
int main (int argc, char *argv)
{
|
by: Summercool |
last post by:
Can we confirm the following? also someone said, Java also has
"reference" like in C++, which is an "implicit pointer":
Pointer and Reference
---------------------
I am starting to see what...
|
by: Astley Le Jasper |
last post by:
Sorry for the numpty question ...
How do you find the reference name of an object?
So if i have this
bob = modulename.objectname()
how do i find that the name is 'bob'
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |