[odb-users] Crash on Windows startup
Wolfgang Haupt
haupt.wolfgang at gmail.com
Tue May 9 15:23:50 EDT 2017
Nice.
Thanks for your help, if this approach works I will use dynamic linking.
As for the static approach - looking at the stacktrace I doubt my main gets
even called, so not
sure if I could fix the initialization problem that way.
Best Regards,
Wolfgang
Boris Kolpackov <boris at codesynthesis.com> schrieb am Mo., 8. Mai 2017 um
18:30 Uhr:
> Hi Wolfgang,
>
> Wolfgang Haupt <haupt.wolfgang at gmail.com> writes:
>
> > I experienced a "schema not found" exception when calling migrate on
> > windows.
> > Similar problems happend on linux/osx without having --whole-archive.
> > Tried to switch everything to build statically,
>
> There is a way to make it work on Windows:
>
> http://www.codesynthesis.com/pipermail/odb-users/2013-May/001289.html
>
>
> > [...] but now I have an instant crash
>
> This is probably due to the libodb initialization that happens in DllMain()
> is not being performed. If you want to continue with this route (link
> everything statically), check what it calls and do the same from your
> main().
>
> Boris
>
More information about the odb-users
mailing list