tag:blogger.com,1999:blog-7306978581108695483.post5547976753180627138..comments2023-09-06T09:17:20.806-07:00Comments on Alin Constantin 's blog: A MSSCCI Primer (How Microsoft Source Code Control API works)Alin Constantinhttp://www.blogger.com/profile/16976709451979541487noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-7306978581108695483.post-35074281266430309062017-01-16T08:33:56.647-08:002017-01-16T08:33:56.647-08:00@Geeta: It's been 12 years since I used MSSCCI...@Geeta: It's been 12 years since I used MSSCCI so I can't be 100% sure, but as far as I remember there is no way to get the user names who checked out a file via MSSCCIAlin Constantinhttps://www.blogger.com/profile/16976709451979541487noreply@blogger.comtag:blogger.com,1999:blog-7306978581108695483.post-47144544008891244252017-01-11T22:05:53.067-08:002017-01-11T22:05:53.067-08:00Hi Alin,
How to get the user id (user name ) of t...Hi Alin,<br /><br />How to get the user id (user name ) of the checked out file (not checked by me(current user))?<br />By using SccQueryInfo() one can get if the file is checked out bu other user. By using SccProperties() one can see the user name in the dialog displayed by provider (provider specific dialog box). But If I want to retrieve the user name using scc api, what is the way to get it ? is there any callback method?<br /><br />TIA,<br />GeetaGeeta Shttps://www.blogger.com/profile/13812817783258715903noreply@blogger.comtag:blogger.com,1999:blog-7306978581108695483.post-20549599285223925782015-10-07T00:38:09.267-07:002015-10-07T00:38:09.267-07:00@Ankit: It depends which flags you want to query. ...@Ankit: It depends which flags you want to query. You can see here <a href="https://msdn.microsoft.com/en-us/library/vstudio/bb166205(v=vs.100).aspx" rel="nofollow">the full set of MSSCCI capability flags</a>.<br /><br /><br />The supported SCC_CAP_xxxxxx flags are returned when you call <a href="https://msdn.microsoft.com/en-us/library/vstudio/bb165660(v=vs.100).aspx" rel="nofollow">SccInitialize()</a>, in the DWORD pointed by lpSccCaps argument. <br />The supported SCC_EXCAP_xxxxxx flags can be checked if they are supported by calling <a href="https://msdn.microsoft.com/en-us/library/vstudio/bb165472(v=vs.100).aspx" rel="nofollow">SccGetExtendedCapabilities()</a> with the flag of interest. Alin Constantinhttps://www.blogger.com/profile/16976709451979541487noreply@blogger.comtag:blogger.com,1999:blog-7306978581108695483.post-49918648247498764102015-10-05T02:16:33.160-07:002015-10-05T02:16:33.160-07:00Hi,
How to query the state of the capability flags...Hi,<br />How to query the state of the capability flags?Ankit Thakarhttps://www.blogger.com/profile/11398563343069298149noreply@blogger.comtag:blogger.com,1999:blog-7306978581108695483.post-18892163105988751172011-11-14T09:10:55.258-08:002011-11-14T09:10:55.258-08:00@Kiran: AuxPath has only meaning for a specific so...@Kiran: AuxPath has only meaning for a specific source control provider. It depends from provider to provider as to what it's used for, and they can store there any necessary information that helps identifying a folder in the scc store so it can be found/open by SccOpenProject. <br />E.g. for SourceSafe databases, the auxpath contains the path to the VSS database (either a network share or a local folder where srcsafe.ini is). Other providers don't need extra settings and use empty strings for AuxPath. The string is not the same for all users opening the same projct (e.g. some users may access a VSS database as \\server\path, while other users may access the same database as C:\SourceSafe\database, etc).Alin Constantinhttps://www.blogger.com/profile/16976709451979541487noreply@blogger.comtag:blogger.com,1999:blog-7306978581108695483.post-55671210170023121442011-11-13T08:26:43.995-08:002011-11-13T08:26:43.995-08:00Hi Alin,
Thanks for writing this page. It was ind...Hi Alin,<br /><br />Thanks for writing this page. It was indeed very helpful.<br /><br />Also, what is not clearly explained in MSDN is the role of Auxiliary project path. It would be good, if you could extend this article explaining the significance of this parameter.<br /><br />Regards,<br />KiranKiranhttps://www.blogger.com/profile/07840254300307195162noreply@blogger.com