Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (7th_zorro), 429 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 2 of 24 1 2 3 4 23 24
Re: MySQL dll [Re: Excessus] #41627
02/26/05 06:58
02/26/05 06:58
Joined: Dec 2004
Posts: 32
England
A
AndyH Offline
Newbie
AndyH  Offline
Newbie
A

Joined: Dec 2004
Posts: 32
England
Quote:

Is mySQL free? Where can I get it?




Yes, it is free, try http://dev.mysql.com/

Re: MySQL dll [Re: AndyH] #41628
02/27/05 01:33
02/27/05 01:33
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
I have copied the libmySQL.dll in my project, but it still gives the error "A6mySQL - no valid ACKNEX DLL".. What other plugins did you have to copy, and where?

Re: MySQL dll [Re: Excessus] #41629
02/27/05 03:50
02/27/05 03:50
Joined: Jan 2004
Posts: 226
Deutschland
Konrad_Neitzel Offline
Member
Konrad_Neitzel  Offline
Member

Joined: Jan 2004
Posts: 226
Deutschland
Hmm ... sounds strange.

What I found until now, that single DLL shouls be enough.

At the moment, I can think of two possibilities:
1) maybe some standard Libary is used, that is still missing on your system? Like the mfc*.dlls?
2) I found multiple libmysql.dll on my system. One direktly inside the bin directory (which should be the right one) and then unter "embedded". Don't know, what is that for.

I would try to install mysql 4.1 server on the system. That should solve the problem. When you install the mysql 4.1 server using the installer, you can tell the installation to insert the bin directory to your path. Then you must not copy any lib - the system finds all on its own.

Hope that works for you. I checked the Project of the a6mysqlk.dll and found no need for other libs. So mybe your libmysql.dll is the wrong one or this lib has another dependency, that is not matched.

With kind regards,

Konrad Neitzel


ICQ: 342-444-458 eMail: neitzel at neitzel.de
Re: MySQL dll [Re: Konrad_Neitzel] #41630
02/27/05 04:19
02/27/05 04:19
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Quote:

What I found until now, that single DLL shouls be enough.



Ok, I thought you mentioned above that you needed another 2 plugins:
Quote:

My lib also needed 2 otehr DLLs to be loaded. Not my day



Could that be the same problem as mine?


Quote:

1) maybe some standard Libary is used, that is still missing on your system? Like the mfc*.dlls?



I don't know what those mfc dlls are for, but when doing a search for them I found a few mfc*.dll's in C:\WINDOWS\SYSTEM and some in other directories, but none in a mySQL or related folder..


Quote:

2) I found multiple libmysql.dll on my system. One direktly inside the bin directory (which should be the right one) and then unter "embedded". Don't know, what is that for.



I found only one libmySQL.dll on my system, plus the one I copied in my project.


Quote:

I would try to install mysql 4.1 server on the system. That should solve the problem. When you install the mysql 4.1 server using the installer, you can tell the installation to insert the bin directory to your path. Then you must not copy any lib - the system finds all on its own.



I only installed mySQL 4.1 yesterday, so doing that again seems useless.. Also, when I install I didn't get choice to place the bin directory in another path.

Re: MySQL dll [Re: Excessus] #41631
02/27/05 17:06
02/27/05 17:06
Joined: Jan 2004
Posts: 226
Deutschland
Konrad_Neitzel Offline
Member
Konrad_Neitzel  Offline
Member

Joined: Jan 2004
Posts: 226
Deutschland
Some points, I can explain:

1) There are some Libaries from Microsoft that were commonly used. One Library is "Microsoft Foundation Classes" short MFC. They exist in multiple version. Most commonly used are 4.2, 7.0 and the newest is 7.1 I think.
When a product uses them, they will normaly install it through a redistribution-pack from microsoft. They install under system32 directroy. (So it is ok)

2) That error message from conitec simple means, that the DLL cannot be used. This could be, because the DLL is not valid or that some requirements are not available. The a6mysql.dll needs the libmysql.dll. My own DLL, that I am writing at the moment, needs 2 Libs (pthreads and HawkNL).

When you look at the MFC-DLLs, you will see, that the version is available inside the name. mfc42* (4.2) mfc70* (7.0) and so on.
The libmysql.dll has no version in it's name, but you can be sure, that there are different versions available. And you got another installer than me. So I think, that you are using a different Version than me and the author.

I am using mysql-4.1.10-win32.zip from mysql.com. So maybe it works for you with this DLL.

Destop: Could you add the libmysql.dll in your zip File? So that all requirements are met with your distribution? Thank you in advance!

I hope, that this helps a little. If you want, I can send you my libmysql.dll (1MB only unzipped).

With kind regards,

Konrad


ICQ: 342-444-458 eMail: neitzel at neitzel.de
Re: MySQL dll [Re: Konrad_Neitzel] #41632
02/27/05 21:46
02/27/05 21:46
Joined: Feb 2004
Posts: 174
Somwhere looking for plants
D
Destop Offline OP
Member
Destop  Offline OP
Member
D

Joined: Feb 2004
Posts: 174
Somwhere looking for plants
libmysql.dll is now included in the archive.
There is no need for the MFC dll, as this project is not MFC, it is plain win32.

Re: MySQL dll [Re: Destop] #41633
02/27/05 22:16
02/27/05 22:16
Joined: Jan 2004
Posts: 226
Deutschland
Konrad_Neitzel Offline
Member
Konrad_Neitzel  Offline
Member

Joined: Jan 2004
Posts: 226
Deutschland
Heya ... thank you for your quick reaction! That was really quick!


ICQ: 342-444-458 eMail: neitzel at neitzel.de
Re: MySQL dll [Re: Konrad_Neitzel] #41634
03/04/05 00:59
03/04/05 00:59
Joined: Dec 2004
Posts: 32
England
A
AndyH Offline
Newbie
AndyH  Offline
Newbie
A

Joined: Dec 2004
Posts: 32
England
I am getting into this dll now and have the basics sorted out (INSERT, UPDATE, DELETE)

What I need to do moving forward is to run a SELECT query to get a result:

"SELECT FROM `player_index` WHERE `name` = 'player'"

I then need to simply see if this returns a row or does not. Basically it is to see if the player exists in the database prior to creating him/her. If exists then ask for passwd, if doesn't exist then start player creation.

What dll functions can I use to do this that are in this dll? I am looking at mySQL_GetStr but cannot figure it out!

Thanks for any help,

Andy

Re: MySQL dll [Re: AndyH] #41635
03/04/05 22:20
03/04/05 22:20
Joined: Feb 2004
Posts: 174
Somwhere looking for plants
D
Destop Offline OP
Member
Destop  Offline OP
Member
D

Joined: Feb 2004
Posts: 174
Somwhere looking for plants
To check if your player is already created or not, I would use this SQL order:
"SELECT count(*) FROM player_index WHERE name='player'"
And then check the result with mySQL_GetVal(0, 0), if you got a 0, MySQL didnt found your player.

Or, use the mySQL_RowNumber() - Return the number of row in the result dataset.

Destop

Re: MySQL dll [Re: Destop] #41636
03/10/05 23:09
03/10/05 23:09
Joined: Dec 2004
Posts: 32
England
A
AndyH Offline
Newbie
AndyH  Offline
Newbie
A

Joined: Dec 2004
Posts: 32
England
Thanks Destop,

Things are falling into place nicely. Thanks again for this contribution

AndyH

Page 2 of 24 1 2 3 4 23 24

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1