I have a requirement to port an existing Windows communications product to
Win32 and then use it on Windows 3.1 (i.e. 32 bit code on Windows 3.1 using
Win32s).
Microsoft have implemented a new API for serial communications under Win32. It
would seem that this new Win32 comms API is not supported under Win32s; is this
correct? If this is so, is it possible to call the Win16 comms API from 32 bit
code?
There is 1 Reply.
Robert,
The Win32 Comm API's are not supported under Win32s. In order to access the
Windows 3.1 Comm API's you will need to create a Universal Thunk and a 16-bit
DLL that does the work.
Thanks,
Michael Markley [Microsoft Developer Support]