You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Stefan Küng <st...@catv.rol.ch> on 2002/08/29 19:19:24 UTC

COM binding

Hi,

in the COM-binding, file SVN.cpp and SVNStatus.cpp there are calls to
InlineIsEqualGUID() which don't compile with ATL7 (it's missing in the
ATL namespace).

With the following changes it works:
SVN.cpp, Line 38:
- if (::ATL::InlineIsEqualGUID(*arr[i],riid))
+ if (::InlineIsEqualGUID(*arr[i],riid))

SVNStatus.cpp, Line 34:
- if (::ATL::InlineIsEqualGUID(*arr[i],riid))
+ if (::InlineIsEqualGUID(*arr[i],riid))

And the file SVNCOM.def should be changed to:
- EXPORTS
- DllCanUnloadNow @1 PRIVATE
- DllGetClassObject @2 PRIVATE
- DllRegisterServer @3 PRIVATE
- DllUnregisterServer @4 PRIVATE

+ EXPORTS
+ DllCanUnloadNow  PRIVATE
+ DllGetClassObject  PRIVATE
+ DllRegisterServer  PRIVATE
+ DllUnregisterServer  PRIVATE


Is the COM binding still 'work in progress'? Because I'd love to
see the COM implementing commands like checkout, add, ...


kind regards,

Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: COM binding

Posted by Greg Stein <gs...@lyra.org>.
On Thu, Aug 29, 2002 at 11:26:12PM +0200, Branko Cibej wrote:
>...
> >Is the COM binding still 'work in progress'? Because I'd love to
> >see the COM implementing commands like checkout, add, ...
>
> It's very much in progress and terribly unmaintained. It would be great 
> if someone with a bit of spare time could pick up where Bill left off 
> and polish that binding. A lot of stuff changed in Subversion since the 
> COM wrapper was written, and it hasn't kept up.

Ideally, somebody would write a new COM "language" for SWIG, so that we
could generate COM bindings automagically.

But hoo... what a mess of work that would be :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: COM binding

Posted by Branko Čibej <br...@xbc.nu>.
Stefan Küng wrote:

>Hi,
>
>in the COM-binding, file SVN.cpp and SVNStatus.cpp there are calls to
>InlineIsEqualGUID() which don't compile with ATL7 (it's missing in the
>ATL namespace).
>
Bill will have to comment on that, as he wrote 99.99% of that code.

[snip]

>Is the COM binding still 'work in progress'? Because I'd love to
>see the COM implementing commands like checkout, add, ...
>  
>
It's very much in progress and terribly unmaintained. It would be great 
if someone with a bit of spare time could pick up where Bill left off 
and polish that binding. A lot of stuff changed in Subversion since the 
COM wrapper was written, and it hasn't kept up.


-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org