hi there,
Our apps use embedded server.
With the latest version of libmysqld.dll + MyDAC (latest release), we are experiencing a silly behaviour.
Just compile the embedded demo
If you put it in a directory (with the dll and the share folder) for example c:\a everything works
If you put it in a c:\t directory (with the dll and the share folder) ... it will fail.
Thanks for helping,
Etienne
Embedded with strange behaviour
could some friendly embedded users test this one ?
hi again ...
Did someone test this previous post ? I tested it on 4 diffrent computers and I'd like to have a confirmation ...
I'd like to know if it a pb from the dll or from MyDAC ...
Thanks a lot,
Etienne
Did someone test this previous post ? I tested it on 4 diffrent computers and I'd like to have a confirmation ...
I'd like to know if it a pb from the dll or from MyDAC ...
Thanks a lot,
Etienne
Re: Embedded with strange behaviour
We could reproduce the problem. The reason of the problem is in incorrect processing in MySQL server paths
from my.ini if they were written with '\. To avoid the problem you should write path with '/'.
Thus, a row from Mydac\Demos\Embedded\Main.pas
must be changed to the next
from my.ini if they were written with '\. To avoid the problem you should write path with '/'.
Thus, a row from Mydac\Demos\Embedded\Main.pas
Code: Select all
FilePath := ExtractFilePath(ParamStr(0));
Code: Select all
FilePath := StringReplace(ExtractFilePath(ParamStr(0)), '\, '/',[rfReplaceAll]);