|
From: Per W. <pw...@ia...> - 2003-05-13 09:16:22
|
GlobalAlloc is like malloc() but it allocates memory directly from Windows. It has a number of tricks, like placing the memory block in first MB of memory etc. GlobalLoc() tells Windows that it may not move or swap out the memory block. This allows safe communication between multiple programs, or direct memory access (DMA) transfers to/from hardware without the processor being involved. For a good reference to SQL functions, you might go to: http://odbcrouter.com/api/SQLExecDirect.shtml and look. /Per W On Tue, 13 May 2003, Derick van Niekerk wrote: > 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- > > > > > ----- Original Message ----- > From: "Yeoh HS" <ye...@ye...> > To: "DevCPP" <dev...@li...> > Sent: Tuesday, May 13, 2003 8:48 AM > Subject: Re: [Dev-C++] Access databases > > > To Derick, > > Sorry, I couldn't send e-mail directly to you as I keep getting this error > message. > <part extract> > The message could not be sent because one of the recipients was rejected by > the server. The rejected e-mail address was 'der...@go...'. > Subject 'Re: [Dev-C++] Access databases', Server Error: 550, Error Number: > 0x800CCC79 > </extract> > > And I think it is not appropriate to send attachments to the group so I've > upload the zip file to my site. > You can directly download it from this URL: (File Size 11.5KB) > http://www.yeohhs.com/shareware/NoDSNCpp-V1.0.zip > > If you need further help, do e-mail me. > > Best Regards, > Yeoh > ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > ICT eBooks by Yeoh HS > Free Downloads at http://www.yeohhs.com > ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |