On 13 May 2012 22:07, crashtua <[email protected]> wrote:

> Is it possible to build dll or lib with dmc to use it in program builded
> in microsoft c++ compiler?
>

Using GDC you can produce libs that VC will attempt to link, it's not so
simple though, the different CRT makes for plenty of incompatibilities, you
have to be really careful to avoid implicit calls to crt functions.
There are also some difference in calling convention, so avoid those too.

If you're super careful, it is possible (I do this in a couple of
projects), but it takes some care. Easier using DLL's, but that's still not
trivial either.

Reply via email to