Title: multithreaded ADO Server Post by: abranquart on April 19, 2014, 07:58:20 AM Hi guys !
I'm starting with RTC (that looks really great !) and just wondering if someone have a multithreaded ADO Server exemple using a connection pool. Thank you for your help ! :) Title: Re: multithreaded ADO Server Post by: D.Tkalcec (RTC) on April 19, 2014, 10:55:46 AM I'm sorry. I don't have a ready-to-use example with ADO and I don't have experience using ADO, but here are some pointers:
1. Use the "rtcActiveX" unit somewhere in your Project, so that each RTC thread will be initialized for the use of ActiveX controls. 2. Check Projects included in the SDKDemos_VCL_DBA group if you are using the VCL, and SDKDemos_FMX_DBA if you are using FireMonkey. There, you will find examples on using the RTC SDK to access a database remotely. Server-side examples are using a flat file or the BDE, but it should not be too complicated for someone who is familiar with ADO to conver the BDE part to work with ADO instead. 3. For older Database-related examples, check the RTC Articles Archive (http://www.realthinclient.com/sdkarchive/indexc41bc41b.html). PS. If somene has a ready-to-use example Project working with ADO, feel free to post about it here. Best Regards, Danijel Tkalcec |