[odb-users] Crash on Windows startup
haupt.wolfgang at gmail.com
Tue May 9 15:23:50 EDT 2017
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.
Boris Kolpackov <boris at codesynthesis.com> schrieb am Mo., 8. Mai 2017 um
> 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:
> > [...] 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
More information about the odb-users