get rid of My.ini on embedded

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ben
Posts: 119
Joined: Wed 17 Nov 2004 19:48

get rid of My.ini on embedded

Post by ben » Wed 08 Dec 2004 23:57

Hello,

i want to get rid of the default C:\windows\my.ini on embedded server.
Is there any way to tell embedded server to look for another ini example c:\program files\my program\my program.ini instead?

Or give embedded server the properties it needs without reading an ini?

An example please?

Thanks

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Re: get rid of My.ini on embedded

Post by Ikar » Thu 09 Dec 2004 09:25

Now MyDAC does not support this feature. We are planning to implement TMyEmbConnection but cannot tell you something about terms.

ben
Posts: 119
Joined: Wed 17 Nov 2004 19:48

Post by ben » Thu 09 Dec 2004 18:08

any other way instead of waiting the new version? a trick or something. Althought I believe is funny enough to add a new property in the connection component and let developers choose the ini name and path instead of using a hardcoded one.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Fri 10 Dec 2004 09:39

Before supporting TMyEmbConnection we cannot suggest you any easy solution.

Post Reply