// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // P4Info.h #ifndef __P4INFO__ #define __P4INFO__ // Class CP4Info - a simple wrapper to parse and store info returned by 'P4 info' class CP4Info { public: CP4Info(); void SetPort(LPCTSTR port); void SetClient(LPCTSTR client); void SetUser(LPCTSTR user); // Attributes public: CString m_UserName; CString m_ClientName; CString m_ClientHost; CString m_ClientRoot; CString m_CurrentDirectory; CString m_ClientAddress; CString m_ClientP4Charset; CString m_ClientAnsiCodePage; CString m_PeerAddress; CString m_ServerAddress; CString m_ServerRoot; CString m_ServerDate; CString m_ServerUptime; CString m_ServerVersion; CString m_ServerLicense; CString m_ServerLicenseIp; CString m_ProxyVersion; CString m_UnicodeMode; CString m_Error; CString m_CaseHandling; }; #endif //__P4INFO__
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 9661 | Ben_Key |
Bug fixes. * Added code to CCmd_Info::OnOutputInfo to handle the new cases "Peer address," "Server license-ip," and "Case Handling." * In all cases where the CFileDialog class the lpstrFileTitle member of the OPENFILENAME structure was set to NULL and there was even a comment that said "We don't need no stinking file title." The problem is that Microsoft disagrees. They are of the opinion that you do need one and they will in the MFC source code attempt to use wcsncpy_s to provide this data for you without first checking to see if it is NULL. If you foolishly set the variable to NULL, this will cause a crash. Sorry, but Microsoft wins this fight. This bug has been fixed. |
||
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/P4Info.h | |||||
#1 | 8562 | Matt Attaway |
These feet never stop running. Initial commit of the P4Win source code. To the best of our knowledge this compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes as we refine the build process. Please post any build issues to the forums. |