[odb-users] visual studio static library

Matthew Buonomano matthew.buonomano at familylawsoftware.com
Wed Jun 6 13:04:11 EDT 2018


OK. Thank-you.

On Wed, Jun 6, 2018 at 11:08 AM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Matthew Buonomano <matthew.buonomano at familylawsoftware.com> writes:
>
> > I would like to be able to use the odb code as entirely statically
> compiled
> > libraries.
>
> It is not recommended to link ODB libraries statically on Windows because
> they rely on DllMain() to perform some low-level initializations. While it
> is possible with some extra effort (i.e., you will have to call those
> initialization functions yourself), in most cases it is easier to just
> ship the .dll files next to your executable.
>
> If you still want to do this, see this earlier thread for some tips:
>
> https://www.codesynthesis.com/pipermail/odb-users/2016-June/003321.html
>


More information about the odb-users mailing list