Unanswered: API to Check Connected Users (Pervasive.SQL)
Someone know if you can check which users are connected to a Pervasive.SQL server?
I can do that using Pervasive Monitor, but I need to do this programmatically (from my app).
Thanks in advance, David.
You can use DTI or DTO to get the list of users. An example showing how to list and disconnect users through VB 6 and DTO is available at DTO Diconnect Clients - Pervasive Community Site. There used to be a DTI sample called KillClients but I can't find it. The DTI SDK may have examples for listing clients as well.
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.