Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Handling symbolic links

Status
Not open for further replies.

gjggjg111

Programmer
Mar 11, 2005
1
US
Hello,

Here is my situation:

I have added symbolic links for header files to Perforce. I am using Visual C++ 6.0. The tool does not like symbolic links as far as I can tell. Any idea how to work around this problem?

Thanks,
 
That's one of my pet peeves against Windows: there is no such thing as a symbolic link in windows, only shortcuts, which cannot be used as straight files by programs (such as VC), only by double-click by the user (and surely by a specialized program which will read the shortcut link itself and go get the real file).

My suggestions: #include your header using the full or relative path, or <> and add the folder to the include path, or add the headers to your project.

Vincent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top