|
From: Yeoh H. <ye...@ye...> - 2003-05-13 10:45:37
|
Hi Derick, I'm glad to help. :-) And, you're right. I'm in the middle of a project right now so I don't have much time. :-( But I can point you to a URL for more information. Iczelion's Win32 Assembly Homepage has, IMHO, very good ODBC tutorials. Although the code is in asm, his explanations on ODBC basic programming approach, the API functions to call, the relevant function parameter values, return values and in what order to call those API functions are _very_ clearly explained. Compared to MSDN, this is better and more concise. :-) The five relevant topics covered are: 1. ODBC Basics 2. Connecting to Data Source 3. Preparing and Using Statements 4. Retrieving Results 5. An ODBC Example The URL is: http://win32asm.cjb.net/ in the Tutorials section. For a tutorial in C using Visual C++, here's a URL I found sometime ago. http://www.cxd3.com/tut/cpp/odbc/odbc.html Many thanks to opcodevoid for providing this tutorial for free. The C++ example program I wrote using Dev-C++ is based on his tutorial example. Best Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: "Derick van Niekerk" <der...@go...> To: "DevCPP" <dev...@li...> Sent: Tuesday, May 13, 2003 4:14 PM Subject: Re: [Dev-C++] Access databases > Yep - that code might do the trick. You might need to explain those SQL > headers though along with some of the functions (GlobalLock, > GlobalAlloc...actually almost every function you used is new to me. I'd > understand If you don't have the time (I know all about that!), but I would > appreciate it if you could explain the first half of your program - the > initialization... > > This was EXACTLY what I was looking for. > > Thanks. > -d- > |