|
Re: MySQL dll
[Re: PHeMoX]
#41739
07/27/06 00:45
07/27/06 00:45
|
Joined: Oct 2002
Posts: 361 Germany Cologne
hack-panther
Senior Member
|
Senior Member
Joined: Oct 2002
Posts: 361
Germany Cologne
|
THX I am am so happy... That is very cool an works 'boundlessly' with the A6 Com :-D But one Problem: When you not have the pro, every user can see your dbconnect-funktion, therefore the passwort, too. Is there a secure possibility to hide the passwort? But THX Again... It`s "GEIL" :-D Sry for bad english
|
|
|
Re: MySQL dll
[Re: Michael_Schwarz]
#41744
08/09/06 23:57
08/09/06 23:57
|
Joined: Aug 2006
Posts: 2
Albysan
Banned
|
Banned
Joined: Aug 2006
Posts: 2
|
This would seems like a very nice dll if i could get it to work...
What happens:
* If i put the dll in the acknex plugin folder only it says it can't load the dlls even if i put plungindir ("C:\Program Files\GStudio6\acknex_plugins") its like it doesn't exist.
* If i put it in the work folder it says that the dlls are not valid acknex dlls. well that is a start at least it recognises the dlls, even if it is not usefull at all.
* If i put one at a time, it's not any better i just get one error message instead of two (one for each dll)
this is my code (with a LOT of variations, i've tested a lot of things without success):
plugindir"C:\Program Files\GStudio6\001_Project_test_mysql"; //C:\Program Files\GStudio6\acknex_plugins string libmysqldll = <libmysql.dll>; string libmysqldlll = <A6mySQL.dll>;
//-------------------------------------------------------------------- // DLL-declarations //-------------------------------------------------------------------- dllfunction mySQL_Connectdb(w,x,y,z); // declaration of a DLL function dllfunction mySQL_Closedb(); dllfunction mySQL_ExecQuery(string); dllfunction mySQL_GetVal(x,y); dllfunction mySQL_GetStr(string,x,y); dllfunction mySQL_RowNumber(); dllfunction mySQL_IsConnected();
var hr
Function main{ //dll_open(libmysqldll); //dll_open(libmysqldlll); hr = mySQL_Connectdb("test","localhost","root","********") }
Oh yeah and another thing it doesn't recognise any of the dll functions, witch i suppose is normal since it doesn't recognise the dlls.
Can anybody help? I would relly appreciate it. Hope i've been clear enough thanx in advance ----------------------------- Pro version 6.20 Mysql 4.1 and 5 tested without success
Last edited by Albysan; 08/10/06 00:00.
|
|
|
Re: MySQL dll
[Re: Albysan]
#41745
08/11/06 12:13
08/11/06 12:13
|
Joined: Aug 2003
Posts: 7,439 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,439
Red Dwarf
|
First: "C:\Program Files\GStudio6\001_Project_test_mysql" is no valid path syntax -> "C:\\Program Files\\GStudio6\\001_Project_test_mysql" NOTE: Always use double-backslashes!
Second, the actual better way is to place all your plugins into your Project work folder and make plugindir: plugindir = ".";
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
|