Hello
control->IsItemUnderSCC (CComBSTR (_T ("$")), &bSC)
control->IsItemUnderSCC (CComBSTR (_T ("d:\\sce\\test.cpp")), &bSC)
....
always return false
based on this post:
http://social.msdn.microsoft.com/Forums ... f71ca15eb5
I suppose this is a fortress issue: I have never checked with Visual Source Safe because we use Fortress with great pleasure.
Could you please check that on your side, it would greatly help us.
Best regards
Xavier
Visual automation
Moderator: SourceGear
Re: Visual automation
What are you trying to do? Is this part of a script?
What version of Fortress are you using? What version of Visual Studio? Are you using the Enhanced or Classic Client for integration?
What version of Fortress are you using? What version of Visual Studio? Are you using the Enhanced or Classic Client for integration?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Visual automation
I sue Visual Studio 2005 automation in an add in.
This is the latest version of fortress.
I use the enhanced client
This is the latest version of fortress.
I use the enhanced client
Best regards
Xavier
Xavier
Re: Visual automation
We're still not clear on what you're trying to do with your plug-in. Are you trying to determine if your project is under source control with these commands? You're saying that this reports the project or file is not under source control, even if it is?
This is not something we're very familiar with., sorry.
The Microsoft link that you referred to discusses the MSSCCI client. Perhaps this does not work with the enhanced client type integration, VSIP.
This is not something we're very familiar with., sorry.
The Microsoft link that you referred to discusses the MSSCCI client. Perhaps this does not work with the enhanced client type integration, VSIP.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Visual automation
Okay. I've written Visual Studio plug-in that is notified everytime a build is done and if it is successful modifies the resource file version.
This file is rarely checked-out, so I need to check it out if it's not the case.
I did it with VSS automation, but VS2005 has a great interface that it seems to use to control Fortress and that it available for plug-ins.
Yes I try to determine if a file is under source code control (the .rc) and if not checked out, to checkit out, before changing the version.
Hope this is more clear.
It should hopefully work with every source code control system as this is supposed to be the goal of this interface that was not available in Visual 6.0
Xavier
This file is rarely checked-out, so I need to check it out if it's not the case.
I did it with VSS automation, but VS2005 has a great interface that it seems to use to control Fortress and that it available for plug-ins.
Yes I try to determine if a file is under source code control (the .rc) and if not checked out, to checkit out, before changing the version.
Hope this is more clear.
It should hopefully work with every source code control system as this is supposed to be the goal of this interface that was not available in Visual 6.0
Xavier
Best regards
Xavier
Xavier