I have the following problem: there is one project x (win32 dll) that is
used within many applications, which is well set up, and now I want to use
it in one more application. But as i have to adept it, I just wanted to copy
it (which worked out quite fine at least within the msvc).
My problem is to get the new project into VSS. All the source-files and
headers should be reused, but not the dsp file. Creating a new VSS project,
setting all the pathes, copying the links of the source-files - no problem
at all.
But when I add the files within msvc to vss, the link is always established
to the old VSS project.
I think this is because of the following entry of the x.dsp file: <# PROP
Scc_ProjName ""$/Produkt System/PSy Test/PSyEngine", CFAAAAA"> where PSy
Test is the old project. just renaming it to the new logical name as it is
defined in VSS is not enough. it changes exactely nothing. so i looked
further and found that ucfaaaaa is the file-name within the vss-structure
where psy test is lying.
Now to my question: how do I find the file-name of another VSS Project so
that I can switch the settings within the dsp file to e.g. <# PROP
Scc_ProjName ""$/Produkt System/Smart/PSyEngine", ???AAAAA">
Or is there another method of changing the link between the files in msvc
and vss?
Thanks a lot for any help,
Markus
first problem: find the physical name of the new vss-project.thanks to
sergey korop here is the info how this can be done
1.) on the command line set the following variable: <set ssdir=\\file
server\share name\>
2.) locate the vss command line utility ss.exe (which might be in
D:/Program Files/Microsoft Visual Studio/Common/VSS/win32/ss.exe)
3.) <ss physical $/project/subproject> and you will get the physical
filename (which was gttaaaaa in my case)
the second problem was the changing of the old vss-project settings within
the msvc-project (so that it was linked to the new vss project
instead of the old one)
4.) changing the settings of the Scc_ProjName variable in the .dsp file
(both the logical name and the physical name)
5.) changing the settings of the <begin source code control> section of the
.dsw file (like in step 4.)
6.) changing the path also in the binary *.opt file. so by now if you search
all the files of your project, the old physical name should not be found any
more.
and thats it. opening the msvc-project again, and everything is like it
should be.
hope this posting contains needful information.
markus freystaetter