RTC Forums
April 19, 2024, 04:21:39 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: multithreaded ADO Server  (Read 3585 times)
abranquart
Guest
« 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 !  Smiley
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 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.

PS. If somene has a ready-to-use example Project working with ADO, feel free to post about it here.

Best Regards,
Danijel Tkalcec
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.022 seconds with 16 queries.