I want to write a linux .so that calls a windows .dll, which will be loaded (all by itself) as an extension to a linux executable. any tips on where to start? would it be better to start under linux using gcc + wine tools or under windows using mingw ...-> cross-compilation? not sure where to start. not sure if its possible. please advise.