Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jun 2 09:59:54 CDT 2006


On 6/2/06 4:02 AM, "Matthew Jew" <mjew at icnc.com> wrote:

Hi Matthew

> I rearranged some things in my project related to linking and such
> and now things are different.

> (This is why I was so interested in seeing a sample XCode project
> that used the C++ VSDK 2;

But we have VSDK/Examples.

>   most of the problems I have been having are just in figuring out
> how to configure the XCode project.)
> 
> Before the project was not properly linking to the libvkernel, hence
> the failure to initialize.

Aha, Most probably you have ZERO LINK option ON.

I prefer often set it OFF, because when it is ON, you cannot see correct
link errors.
 
> Now it apparently is linking better, but now the call to
> ValentinaInit returns a 0.
> 
> Is there anywhere I can look to find out what error is causing
> ValentinaInit to fail?

    if( gCache )
        return gCache->get_ByteSize();
    else
        return 0;

Strange, sounds like cache was not allocated.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list