Hi,
I use FB embedded version for a little local db,Firebird-2.5.4.268560_Win32 on 
W 8.1 x86 with Visual Basic 2012FirebirdClient 4.7 (latest version)

I run this simple code and when I close it,application closes but IDE still 
show "...Running"  for couple seconds (up to 5)If I change   
ServerType=1(embedded)  to ServerType=0 (SS) all works fine,IDE ends running 
mode instantly

I think it is a problem with embedded version,not .NET connector,also found 
this:
Embedded Firebird unload delay

|   |
|   |   |   |   |   |   |   |
| Embedded Firebird unload delay After I close my application fbclient.dll 
remains in memory for about 3 seconds. So it locks the database file and 
prevents my application from unloading. I'm using... |
|  |
| View on stackoverflow.com  | Preview by Yahoo |
|  |
|   |




an this is a video for the test I've done
https://vid.me/vSkS


FbEmbed.avi

|   |
|   |   |   |   |   |   |   |
| FbEmbed.avi MediaFire is a simple to use free service that lets you put all 
your photos, documents, music, and video in a single place so you can access 
them anywhere and share... |
|  |
| View on www.mediafire.com  | Preview by Yahoo |
|  |
|   |



this is the code


   Dim connectionString As String        connectionString = "User=SYSDBA;" + 
_"Password=masterkey;" + _"DataSource=localhost;" + _"Dialect=3;" + 
_"Port=3050;" + _"Charset=NONE;" + _"Role=;" + _"Connection lifetime=15;" + 
_"Pooling=true;" + _"MinPoolSize=0;" + _"MaxPoolSize=50;" + _"Packet 
Size=8192;" + _"ServerType=1;" + _"Database=" + "c:\Program 
Files\Firebird\Firebird_2_5\examples\empbuild\EMPLOYEE.FDB"
        Dim myConnection1 = New FbConnection(connectionString)        
myConnection1.Open()        myConnection1.Close()



I've disabled antivirus,firewall,tested on another machine:the same thing


Thanks.






  

Reply via email to