[odb-users] Crash on Windows startup

Boris Kolpackov boris at codesynthesis.com
Mon May 8 12:30:32 EDT 2017


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