try to multi connect sqlce but raised EFOpenError

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
swangwh
Posts: 1
Joined: Tue 24 Mar 2009 02:28

try to multi connect sqlce but raised EFOpenError

Post by swangwh » Tue 24 Mar 2009 02:53

I run the demo program in directory "Devart\DbxSda\Demos\Win32\SQLServerCompact" ,It's work OK.
I try to test multi connection ,I do the follow
1. add three SQLConnection component
2. set SQLconnection property as same as original one
3. add a button
4. set button click event
SQLConnection1.Connected := true;
SQLConnection2.Connected := true;
SQLConnection3.Connected := true;

but It's raise EFOpenError with message "Can't open file ....\*.sdf"。
I want uses sqlce in multi thread,how to solve?

thanks

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 24 Mar 2009 09:18

You can see this exeption only if you run the application from IDE. This exception is raised on internal level and it is processed by DbxSda.

Post Reply