UnderwareDESIGN

PlayBASIC => Resources => Source Codes => Topic started by: empty on February 09, 2005, 10:00:44 AM

Title: BlitzData Wrapper
Post by: empty on February 09, 2005, 10:00:44 AM
Professor Kill asked if it was possible to use the BlitzData DLL (http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=kanati886902282004191346&comments=no) in PB, s I wrote a wrapper for it.
BlitzData allows you to access different sorts of databases (Access, MS SQL, Oracle or any other database with MDAC drivers)

It's not entirely tested, so be careful. :)

Download (http://members.lycos.co.uk/sotmailings/stuff/bdwrap.htm)

Make sure you call Init_BlitzData(PathAndFileName$) before you use the functions and Free_BlitzData() at the end of your app.

Example (if the DLL is in the project's folder)

  Init_BlitzData("BlitzData.DLL")

  // other stuff here
 
  Free_BlitzData()
Title: Re: BlitzData Wrapper
Post by: andrik on February 09, 2010, 05:51:30 AM
Hi there,

Is this blitzdata wrapper somewhere available? (the link is dead). I'm really interested in connecting to a database from within playbasic.

thanx!

Andrik
Title: Re: BlitzData Wrapper
Post by: kevin on February 09, 2010, 06:07:46 AM
 unlikely.  


But the original Dll can be found here (http://www.radioactivegamer.com/) 
Title: Re: BlitzData Wrapper
Post by: kevin on February 10, 2010, 08:10:28 AM
  Attached is the BlitzData function declarations converted to PlayBasic.  

   
 The BlitzData DLL can be downloaded here (http://www.radioactivegamer.com/).