Page 1 of 1

embedded app running within delphi

Posted: Thu 01 Jun 2006 18:42
by rui
"Cannot run second Embedded Server instance for a single data folder"
I can“t run an app in delphi with tMyEmbConnection. Connected is False in design time. There is not other apps running ....

i have seen this question in the forum but not its solution. :(

Posted: Mon 05 Jun 2006 08:08
by Antaeus
If you set MyEmbConnection.Connected to True in design time, Delphi loads libmysqld.dll into the memory. This library stays loaded even if you close the project which uses it. When Delphi is being closed all its resources are being freed including this libmysqld.dll. Try to restart IDE, open project with embedded server, run this project. MyEmbConnection.Connected property mustn't be set to True in design time at all.