×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Multiple user accessing single file

Multiple user accessing single file

Multiple user accessing single file

(OP)
HI,
Please help me in using the same file by multiple user. I am using the Btrieve API to access the database. I have not installed the complete Pervasive but just using the DLL and the engine exe. Please suggest how can we use the Btrieve i.e Pervasive to be used by multiple user from different machine using Btrieve API

Regards,
Jitendar

RE: Multiple user accessing single file

You have to have the Pervasive drivers to do this.  There are 3 different versions.  The workstation which does not allow any sharing of files between different work stations.  Then there is the workgroup version and then the server version.  Depending on the version of Pervasive you can access the same file if you have the proper version.

Gil

RE: Multiple user accessing single file

(OP)
Thanks for the reply,
I am not aware of the type of engine we are using but will try figuring out from Pervasive as we have purchased the SDK, the about box no where says that we are using the workstation or workgroup engine. But incase we are using the workgroup engine , can I open the file using the BTRV API function or we need to go for BTRVID. I am a bit confused as the help says to use the functionnamed BTRVID for multiple access but we were using the BYRV call when we were using the old version of Pervasive i.e Btrieve.

Please feel free to write me if I am confusing.
Jitu11875@indiatimes.com

Regards,
Jitendar

RE: Multiple user accessing single file

The code you write can run under any of the 3 versions of Btrieve.  The SDK comes with the single user version which only allows one user at a time to access the database.

You probably should visit www.pervasive.com and review there different sugguestions for the workgroup and server version to see which would fit your needs.

Gil

RE: Multiple user accessing single file

(OP)
Thanks Gil,
I will lookforward for UR help in this regard for any other problem I face in Pervasive. I will try quering Pervasive for that. I was told that the SDK will have the Workgroup engine for 3 user license. I will check into it. Thanks for the suggestion.
Regards,
Jitendar

RE: Multiple user accessing single file

(OP)
Hi Gil,
I have the work group with three user licence but still I am facing the problem. I am not using the complete pervasive but just the few DLL and the EXE suggested by pervasive on site in the embedding guide. This is where I get the error in using the pervasive for multiuser environment.
Thanks for all the effoerts U R putting up
regards,
Jitendar

RE: Multiple user accessing single file

You will probably have to resolve it with Pervasive.  I can understand your desire not to install all the megabytes that come with Pervasive's install.  It could be that their install routine writes information to the registry that may be needed for multi-user use but that is a guess as I've not looked into it.

Gil

RE: Multiple user accessing single file

If you are trying to embed the engine and are getting 116 errors, you probably haven't applied the user count.  Your install will need to run the following command:
W32UCNST.exe -c101 -q"<directory where ucmgr.key is located>"
Hope this helps. If it doesn't, you should open an incident with Pervasive.  

Mirtheil
mirtheil@mirtheil.com
Custom VB and Btrieve development.

RE: Multiple user accessing single file

(OP)
Thanks all for the wonderfull information, I resolved the issue as we are asked to go for the licence and the site of Pervasive didn't listed all the DLL and exe that was required. We need to include more exe to make it happen.
regards,
jitendar

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close