[mythtv] [PATCH] Win32 frontend support

Boleslaw Ciesielski bolek-mythtv at curl.com
Thu Jan 22 11:02:48 EST 2004


> > You can't have it export that symbol to the libs?  I'd like to keep things
the
> > way they are in this respect, unless really necessary..
>
> Other projects such as Hercules have run into this same issue; I think
> Windows DLLs are just broken in this way.

No, this is doable with the Microsoft compiler by creating the import library
for the executable:

1. Run "lib /def" on the executable object files. This creates .lib and .exp
for the executable but does not link.
2. Use .lib from 1 to link the DLL. This creates the .lib for the DLL
3. Use .lib from 2 and .exp from 1 to link the executable.

I don't know how to do this with gcc however.

Bolek



More information about the mythtv-dev mailing list