[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: RE: [Issue 1627] create subversion DLLs on Windows

From: Alex Besogonov <cyberax_at_scb.udsu.ru>
Date: 2003-12-31 21:15:16 CET

Hello Steve,

Wednesday, December 31, 2003, 11:45:54 PM, you wrote:
SD> My goal is to get VisualBasic bindings. I can call a DLL's C API from
SD> VB, but not a C++ API, due to name mangling, etc. That rules out
SD> wrapping svncpp directly from VisualBasic.
SD> (Even if I could call a C++ API from VB, it would require
SD> building svncpp into a DLL, which I haven't seen planned, either.)
My co-worker has successfully compiled svncpp using managed C++, so it
is possible to use svncpp from VB .NET

SD> I understand the general concept of wrapping a svncpp in COM, but
SD> unfortunately, I don't have enough experience in the details right now
SD> to even begin a project like that. Since this is all for internal
SD> corporate VB tools, it's a lot easier for me to justify my time writing
SD> VB wrappers around existing C API than it is to justify the learning
SD> curve of making COM wrappers for a C++ API.
If you decide to write VB wrappers for C API you'll have to implement
some callback functions, and as far as I remember it isn't possible to
do from pure VB. So IMHO the simplest way is to create command line
client wrappers.

SD> (Now if someone with both experience and time wants to provide completed
SD> COM bindings, I'll be the among first to use them, as long as I haven't
SD> already spent the time wrapping the C API or the svn console.)
Well, maybe I'll have enough time to do it during New Year holidays :)
After all, there are only about 17 classes to wrap...

PS: Happy New Year!

-- 
Best regards,
 Alex Besogonov                           mailto:cyberax@scb.udsu.ru
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 31 21:15:49 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.