On 2013-04-29 10:36, Cooke, Mark wrote:
>> -----Original Message-----
>> From: Edwin Cheung [mailto:edokakid_at_gmail.com]
>> Sent: 27 April 2013 07:55
>> To: users_at_subversion.apache.org
>> Subject: questions about subversion secondary development
>>
>> Dear sir or madam:
>> When I use the binary packages ( Win32Svn
>> <http://sourceforge.net/projects/win32svn/> ,
>> svn-win32-1.6.21_dev.zip) to run the example code named
>> "minimal_client.c"(located in the directory of
>> "subversion-1.6.21\tools\examples"), I get an access
>> violation on calling "svn_cmdline_init("minimal_client", stderr)".
>> My build tool is Visual Studio 2008 on Windows 7(or
>> Windows xp).How to solve this problem? Please help me.
>>
>> Thanks a lot and look forward to hearing from you soon.
>> Best Regards,
>> Cunchao Cheung
>>
> In the absence of the maintainer answering, I believe that the sourceforge win32svn package you are using is built using Vicual C++ 6 (e.g. for compatability with the VC6 binaries of httpd that apache.org used to host).
>
> If you want to use it with Visual Studio 2008 you will need to find a different binary, built using VS2008. Both CollabNet and WANdisco (amongst others) also provide binaries, try some of those...
>
> Cheers,
>
> ~ mark c
Hi all
That's correct Mark (thanks for answering in my absence).
My build is using VC++6 and I suppose that's the reason it doesn't work.
Although I have tried using the Apache modules in my build on in newer
versions of xampp (which includes httpd) that is build using newer
compilers (VC9/VS2008) and it's working. But I think it might be that
the apache modules have nice clean interfaces.
/David a.k.a. Alagazam
Received on 2013-04-29 20:49:29 CEST