Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Help with mysql and DBpro 5.8

Author
Message
Zaffus
20
Years of Service
User Offline
Joined: 20th Apr 2005
Location:
Posted: 5th Aug 2005 18:22
I have put the dll mysql.dll in the same briefcase of the attached example testmysql.dba, but when I try to compile the project it gives me an error of the type: "Subscript must be integer or Dword when referencing an array at line 23" or rather where the call there is mySQL_Connect (.....).

Does someone know how to tell me from thing it depends?
And as I have to use the bookstore to work with the database?

P.s. :I have the version 4.1 of Mysql server and client
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 6th Aug 2005 01:35 Edited at: 6th Aug 2005 01:36
Example code?

I doubt you can directly integrate the mysql DLL into DBPro.. There is a "bridge" DLL someone has done that gives DBPro MySQL commands. I'm not sure who though.. I wanna say David T?

Edit:
Wrong - Bouncy Brick:
http://www.nicholaskingsley.co.uk/html/dbpro_plugins.html

My Website:
Xolatron old
21
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 6th Aug 2005 02:16
The compiler isn't recognizing 'mySQL_Connect' as a command; you either need to use the dll above or use 'call dll'.

-Xol

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Aug 2005 10:09
Or, if your using my plug-in, put it in the correct place...

AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
PowerSoft
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 6th Aug 2005 10:57
Cattlerustler has done it, check out WIP

Zaffus
20
Years of Service
User Offline
Joined: 20th Apr 2005
Location:
Posted: 6th Aug 2005 17:49
Thanks I have resolved, I didn't put the bookstore in the briefcase compiler/plugin-user and I didn't put the other bookstore libmysql.dll in the briefcase of the project.

However I need another information: when I distribute the project this does it work on a computer with installed mysql only? (the database not the upload on the web but on the computer where it turns the executable one that is not connected to internet)

Can I read besides given by a database without DNS (that is inserting the physical address of the database on the computer) and if him which the parameters are to pass?

Thanks still of the help.

Login to post a reply

Server time is: 2025-06-06 09:56:11
Your offset time is: 2025-06-06 09:56:11