Subj : Re: 16bit dll from 32bit app To : comp.programming From : Rob Thorpe Date : Wed Jun 29 2005 11:50 am Wox wrote: > It works with a 16bit automation server calling the 16bit dll and a > 32bit dll automation client with the same exports as the 16bit dll. > > On Wed, 15 Jun 2005 13:27:30 +0200, Wox wrote: > > >Is there a way to call 16bit dlls in win2000/XP? > > > >As far as I know, "thunking" on NT works only for calling 32bit dll > >from 16bit app. Win95 has something like "flat thunk" to call 16bit > >dlls from 32bit code, but this is not supported under NT. > > > >The code for the 16bit dlls I want to call, is not available. > > > >Any idea's? You would be better asking this question in comp.os.ms-windows.programmer.win32. I don't know much about this, but .... You can certainly do this in Window 9x gdi32.dll, user32.dll and kernel32.dll worked by calling the old 16-bit windows libraries user.exe etc. It may not be possible in NT derivatives. You can certainly do it with OLE, but it would be moderately painful. .