just one question before finishing the creation of winmm/mmsystem as a separate .so
file:
when a 16 bit API is needed (let's call it foo in dll mydll), what's the best way
(preferred practice) to get the function
0/ try to replace the 16 bit call with an 32 bit equivalent
1/ I've seen a few places where the foo16 function is added to the exported EP of the
32 bit module counterpart (mydll32). but this may grow quite heavily (see François
Gouget latest mails)
2/ make the import "by hand" in the caller module (LoadLibrary16/GetProcAddress16 and
use the Wine's standard glue to do the call)
3/ ?
using 1/ may end up exporting lots of 16 bit EP from the 32 bit module, which I'm not
convinced it's a good idea
2/ is way cleaner (in terms of separation), but needs some work (especially to pass
16 bit ptr, which need to be segmented in this case)
any "definitive" directions here ?
A+
--
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle