RE: Access violation embedding subversion
From: John Gourlay <gourlay_at_BAUERCONTROLS.com>
Date: Thu, 12 Feb 2009 14:43:58 -0500
Bert,
Thanks for the link to minimal_client.c. I'll look at it carefully.
I thought the only alternative to using the dlls was to compile all of
John
________________________________
From: Bert Huijben [mailto:bert_at_vmoo.com]
Hi,
It looks like you miss some required initialization. I think
Are you sure you wish to use the C api and dynamically loading the dlls
(There are .lib files available on the tigris download site)
I did a lot of work to make this example very trivial in C# and all
(Available on http://sharpsvn.net/. Used by AnkhSVN, the Collabnet
using (SvnClient client = new SvnClient())
{
Guid id;
if (client.TryGetRepositoryId(new Uri("http://mrbig/svn/repos/pcs"),
{
// id contains your repository id
}
}
Just using the client without special actions does all default
Bert
From: John Gourlay [mailto:gourlay_at_BAUERCONTROLS.com]
I'm hoping to embed some of the features of subversion in another
Attached is a little C program that I'm using as a proof of principle.
Loads the libraries libsvn_client-1.dll and libapr-1.dll. These came
Gets the addresses of various functions in the libraries.
Gets the subversion client version number (1.5.4).
Creates an apr allocator and then an apr pool.
Creates a subversion context.
Everything works to this point. Then, it calls
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.