Re: [IBPP-DISCUSS] Exclusive Handle in Windows 7
IBPP is a C++ client class library for FirebirdSQL
Status: Inactive
Brought to you by:
epocman
From: Jens S. <jen...@go...> - 2011-06-16 16:39:13
|
Hm...do the apps run under different users? 2011/6/15 Daniel Casper <dan...@gm...>: > We have a product that's done in two components - a Service written in C++ > and a User Interface written in Python. They share a Firebird Database for > configuration. Because they are separate processes we are running the > Firebird Super Server Service so that they can both have an open connection > when necessary. This works properly on Windows XP, but does not work on > Windows 7. > > The C++ Service uses the IBPP Library. The Python UI uses kinterbasdb from > firebirdsql.org. > > On Windows 7 I am able to launch multiple instances of the User Interface > and each one is able to establish a connection. I believe this indicates > that the Firebird Service is working properly. If even a single instance of > the User Interface is running the Service cannot start. If the Service is > running I cannot launch any instances of the User Interface. This seemingly > points to the Service component using an exclusive handle in some way. The > code that it uses to connect is: > > IBPP::DatabaseFactory(host, name, user, password) > > Where host is 'localhost', name is the path to our database, and user and > password are self explanatory. This mirrors the documentation for the IBPP > library. When the Service has an open connection to the Database I can > verify via netstat that there is an established socket, as expected. At this > point, I'm at a loss. I haven't been able to find anything related to > Firebird and Windows 7 that would explain the behavior, and the code is > functional on XP. Any ideas? > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > ibpp-discuss mailing list > Post to ibp...@li... > Settings https://lists.sourceforge.net/lists/listinfo/ibpp-discuss > http://www.ibpp.org > |