COM Wrapper for Client API
Moderator: SourceGear
COM Wrapper for Client API
We have several VB6 tools written which use SourceSafe object model to check in, label after builds etc. is there a COM based DLL that I can hook to and use in much the same way as SourceSafe?
Consider releasing a COM interop version
Would you consider releasing a COM wrapper, a basic one can be produced from .NET by specifying the "Register for COM interop" in the project settings (it needs to be a DLL not application though)
- Attachments
-
- Screenshot of component properties in .NET
- VaultCOM.JPG (40.13 KiB) Viewed 14521 times
Disclamer on last post
I have tested this on minor things, I am not sure how it will work with more complex interfaces, possibly just a cut down set of login, check in/out, label subtree would be nice.
Re: Consider releasing a COM interop version
Is it possible for you to build this COM wrapper yourself if you have the .NET DLL? Or does it have to built when our DLL is built?Robin wrote:Would you consider releasing a COM wrapper, a basic one can be produced from .NET by specifying the "Register for COM interop" in the project settings (it needs to be a DLL not application though)
Even if it's easy, my reaction would be that we need to do a better job supporting the client API at its current scope before we broaden it.
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear
Would have been my response as well
I can write some more code to talk to your DLL in .NET and then interop its public interface but I can't do it to your original DLL (well don't know how). The interop gets made at compile time so you would have to recompile with the option turned on to make the entire set COM accessible.
I can write some more code to talk to your DLL in .NET and then interop its public interface but I can't do it to your original DLL (well don't know how). The interop gets made at compile time so you would have to recompile with the option turned on to make the entire set COM accessible.