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.