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

Problem with running minimal_client.c built in Visual C++ 2008 EE

From: Michał Gierwatowski <mgierw_at_gmail.com>
Date: Mon, 8 Nov 2010 13:35:09 +0100

Hi all.
I’m trying to build simple client application in Visual C++ 2008 EE. I
get code from minimal_client.c, libraries from svn-win32-1.6.6.zip. I
set up include path, library path, and in “Additional dependencies” I
set up the following:
        libapr-1.lib libsvn_subr-1.lib libsvn_client-1.lib libsvn_fs-1.lib
Also I copy DLL files into Debug and Release folder in my project.
Application builds successfully, but when I start it, it crashes. In
debug mode I can see that it crashes on calling svn_cmdline_init and
in output are the following information:
        First-chance exception at 0x7c91b21a in SvnTest.exe: 0xC0000005:
Access violation writing location 0x00000010.
        Unhandled exception at 0x7c91b21a in SvnTest.exe: 0xC0000005: Access
violation writing location 0x00000010.

Thanks in advance for any suggestions what I’m doing wrong.
Best regards
Received on 2010-11-08 13:35:50 CET

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