2 registered members (AndrewAMD, 7th_zorro),
1,285
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: MySQL dll
[Re: Excessus]
#41629
02/27/05 03:50
02/27/05 03:50
|
Joined: Jan 2004
Posts: 226 Deutschland
Konrad_Neitzel
Member
|
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
Excessus
Expert
|
Expert
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
Member
|
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: Destop]
#41633
02/27/05 22:16
02/27/05 22:16
|
Joined: Jan 2004
Posts: 226 Deutschland
Konrad_Neitzel
Member
|
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
AndyH
Newbie
|
Newbie
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: Destop]
#41636
03/10/05 23:09
03/10/05 23:09
|
Joined: Dec 2004
Posts: 32 England
AndyH
Newbie
|
Newbie
Joined: Dec 2004
Posts: 32
England
|
Thanks Destop, Things are falling into place nicely. Thanks again for this contribution AndyH
|
|
|
|