dbTalk Databases Forums  

Re: PvConnectServer()

comp.databases.btrieve comp.databases.btrieve


Discuss Re: PvConnectServer() in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rwickers
 
Posts: n/a

Default Re: PvConnectServer() - 07-17-2003 , 10:09 AM







Terry,

To get the client side settings you don't need to call
PvConnectServer just use a handle value of "-1". That should get you
the client side settings.

Regards,

Randy Wickersham
Pervasive Software Inc.

--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
Terry B.
 
Posts: n/a

Default Re: PvConnectServer() - 07-18-2003 , 04:36 PM






Randy,

I appreciate the info, I have tried the -1 and now I can get local
settings!

I am having trouble connecting to the server passing in the Servername
and a user that has admin rights, it does not set my ConnectionHandle
properly. It stays at whatever default I set it at, or it appears to
connect me to my Client machine and returns the name LocalHost as the
server after I call PvGetServerName().

Any Ideas are appreciated!
Thanks,

Terry B

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.