|
-
April 24th, 2008, 02:06 PM
#1
Accessing Sourcesafe Database
Do you have to have sourcesafe installed on a machine if you want to access a sourcesafe database that is stored on a server. I have written an app that retrieves and stores files to the database which works fine on my developtment machine but when run on a different PC has connection problems. Is there somekind of runtime dll that needs to be linked into the exe.
Thanks.
-
April 24th, 2008, 02:28 PM
#2
Re: Accessing Sourcesafe Database
What interfaces are you using to access VSS?
-
April 24th, 2008, 02:52 PM
#3
Re: Accessing Sourcesafe Database
 Originally Posted by Arjay
What interfaces are you using to access VSS?
This is what i am using to open a connection to the database.
IVSSDatabasePtr mp_vssDatabase;
mp_vssDatabase.CreateInstance(__uuidof(VSSDatabase);
mp_vssDatabase->Open(VSSini, User, Password);
What i want to know is there just a dll i could copy over from the sourcesafe installation if it is needed.
-
April 24th, 2008, 03:57 PM
#4
Re: Accessing Sourcesafe Database
I understand what you are looking for.
IVSSDatabasePtr is a pointer to a com object. This com object needs to be available and registered on the target machine
To find what dll hosts this interface use the oleview.exe tool (Open a Visual Studio command prompt and type oleview) or search the classes root key in the registry for IVSSDatabase.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|