Hello, Is it possible/recommended to have multiple FbRemoteEvents attached to a single FbConnection?
I have an app using VS2008 (C#) that has a connection to a DB that spawns other objects as needed and each want's to share the same connection. Example: MainObj has Connection to DB and has it's own FbRemoteEvent to listen to events. MainObj spawns Obj1 and Obj2 and passes Connection during creation. ex: Obj1 = new clsObj1(MainObj.Connection); Obj2 = new clsObj2(MainObj.Connection); Obj1 has it's own FbRemoteEvent and adds events specific to Obj1. Obj1 has it's own FbRemoteEvent and adds events specific to Obj2. Problem is that Obj1 and Obj2 don't always respond to events. In fact, they rarely ever respond. ManiObj always responds. If I create a new Connection for Obj1 and Obj2 instead of sharing the Connection from MainObj they do respond but that adds more connections to the database and with many databases and objects this gets rather messy and puts a lot of load on DB server. Using .net Client 2.1 or beta 2.5 from April. Can't seem to get released 2.5 client to work with app built for 2.0 framework. Is there a better solution? Will released client ver 2.5 work like I want if I can get it to work? Thanks for any assistance or advice. Todd Asher -- View this message in context: http://www.nabble.com/Multiple-FbRemoteEvents-on-single-Connection-possible-tp23982217p23982217.html Sent from the firebird-net-provider mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider