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

Re: libapr_tsvn32.dll excluded from 1.9.3?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 18 Jul 2016 22:07:00 +0200

On 18.07.2016 16:18, Michael Schwarzl wrote:
> Hello Stefan,
>
> I would like to pick up this topic. I examined the TortoiseSVN32.dll
> within the latest 1.9.4 64-bit installer. There are only two
> functions exposed within the dll:
>> DllCanUnloadNow DllGetClassObject

first of all: the 32-bit dll that comes with the x64 version of TSVN
only has very, very limited functionality. For example, it lacks all
networking stuff. That's because it's only needed for the shell
extension and doesn't need to do much.

>
> How do you suggest to connect to the DLL and perform operations like
> Add, Upload, Update, Delete, Retrieve status and more within our
> software? (In several cases I have to collect the status information
> of several thousand files.)

You'd have to use the 64-bit version of that dll.
And to use the TSVN dlls, you would need the headers from here:
https://svn.apache.org/repos/asf/subversion/branches/1.9.x/subversion/include

That's where the API is defined, and those APIs have to be used from
that dll.

I'm not sure if the APIs are exported as C-functions or C++-functions -
it doesn't really matter for TSVN so I've never paid attention to that.

You can try to get the exported functions via GetProcAddress() and see
if that works.

But I think it would be better if you could use the dlls from an
official svn command line client - those are guaranteed to stay the same
and compatible, while the TSVN dll is not and can change at any time.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3179287
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-07-18 22:07:03 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.