What version of Pervasive are you using? You can always use the Monitor (W3MONV75.EXE on P.SQL 2000 and later). It was called BTRMON on NetWare on Btrieve 6.x. If you want to get number of licenses programmatically (within your program), you'll need to use DTI or DTO available with Pervasive.SQL 2000 and later (including V8).
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.