Article View: comp.lang.pascal.delphi.misc
Article #311SourceSafe and Delphi 4.0 Problem
From: rajinder.singh
Date: Wed, 16 Sep 1998 00:00
Date: Wed, 16 Sep 1998 00:00
28 lines
2290 bytes
2290 bytes
I am trying to use Visual Source Safe Ole Automation Api. I need to intercept
the Visual Source Safe Events when someone checksin, checksout, adds a file
to the Visaul Source Safe via Source Safe Explorer or any other means. I
found an C++ example to do this in microsoft source safe page. After
installing it everytime I check in files it displays messages like Before
checkin of file xyz to project abc etc. and after a successful check of a
file.
I want to do the same thing in Delphi. I have created a COM object in delphi.
I have modified the ssaddin.ini with the Progid of my COM object. I have
registered my object. When I start VSS Explorer and try to add a new file to
an existing project I get a message showing the I recieved an event from
VSS before add the file. However after this I get a message
Invalid DOS Path: somejunk ...
and my Add to VSS fails.
Has any one come across the same problem. The Demo C Program called SSAddIn
which is availble from Microsoft WebSite works fine. I have tried my best to
create the same COM object in Delphi but something is not working.
Any help, suggestions, examples to fix this problem will be much appriciated.
Raj
‰
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Technical Details
Message-ID:
<6tp3p8$nbm$1@nnrp1.dejanews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8256,63292f33ea7a82c9,start X-Google-Attributes: gidf8256,public X-Google-Thread: 10baee,63292f33ea7a82c9,start X-Google-Attributes: gid10baee,public X-Google-Thread: 10c3df,63292f33ea7a82c9,start X-Google-Attributes: gid10c3df,public From: rajinder.singh@novusmkt.com Subject: SourceSafe and Delphi 4.0 Problem Date: 1998/09/16 Message-ID: <6tp3p8$nbm$1@nnrp1.dejanews.com> X-Deja-AN: 391788549 To: rajinder.singh@novusmkt.com X-Http-Proxy: 1.1 x10.dejanews.com:80 (Squid/1.1.22) for client 206.9.169.93 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Sep 16 19:32:55 1998 GMT Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.opentoolsapi,borland.public.delphi.thirdparty-tools,borland.public.delphi.opentoolsapi X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0b1; Windows NT)