Jump to content


ClientApi and settings (via environment variables or P4CONFIG)

c++

  • Please log in to reply
No replies to this topic

#1 thuanFirelight

thuanFirelight

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 05 May 2016 - 05:09 AM

Hi,

I was wondering what does the default constructed ClientApi defaults the user, port, etc to? I tried setting the P4CONFIG and using p4 set in the Terminal (on Mac OSX) and the default constructed ClientApi doesn't seem to pick up those settings. Does Init() need to be called first before calling GetUser()? For some reason on the Mac OSX GetUser() of a default constructed ClientAPI seems to return the login name. Forgot to mention, this is using the C++ API.


Thuan





Also tagged with one or more of these keywords: c++

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users