Difference between revisions of "Microsoft KB Archive/105759"

From BetaArchive Wiki
(stage2)
 
m (Text replacement - """ to """)
 
(One intermediate revision by the same user not shown)
Line 26: Line 26:
 
A good approach to take in writing a Win32-based application targetted for Win32s that uses serial communications is to create a pair of dynamic-link libraries (DLLs) with the same name. One DLL will use Win32 Communications APIs and be installed under Windows NT. The other DLL will use the Universal Thunk to call a 16-bit DLL that will call the Windows Communications API. This DLL will be installed under Win32s.<br />
 
A good approach to take in writing a Win32-based application targetted for Win32s that uses serial communications is to create a pair of dynamic-link libraries (DLLs) with the same name. One DLL will use Win32 Communications APIs and be installed under Windows NT. The other DLL will use the Universal Thunk to call a 16-bit DLL that will call the Windows Communications API. This DLL will be installed under Win32s.<br />
 
<br />
 
<br />
For more information on the Universal Thunk, see the &quot;Win32s Programmers Guide&quot; included with the Software Development Kit (SDK). In addition, there is a sample in MSTOOLS\WIN32S\UT\SAMPLES\UTSAMPLE.
+
For more information on the Universal Thunk, see the "Win32s Programmers Guide" included with the Software Development Kit (SDK). In addition, there is a sample in MSTOOLS\WIN32S\UT\SAMPLES\UTSAMPLE.
  
 
Additional query words: 1.00 1.10 1.20 comm
 
Additional query words: 1.00 1.10 1.20 comm

Latest revision as of 09:58, 20 July 2020

Using Serial Communications Under Win32s

Q105759



The information in this article applies to:


  • Microsoft Win32s versions 1.0, 1.1, 1.2





SUMMARY

Windows NT and Windows provide significantly different serial communications application programming interfaces (APIs). Win32s does not support the Win32 Communications API.

A good approach to take in writing a Win32-based application targetted for Win32s that uses serial communications is to create a pair of dynamic-link libraries (DLLs) with the same name. One DLL will use Win32 Communications APIs and be installed under Windows NT. The other DLL will use the Universal Thunk to call a 16-bit DLL that will call the Windows Communications API. This DLL will be installed under Win32s.

For more information on the Universal Thunk, see the "Win32s Programmers Guide" included with the Software Development Kit (SDK). In addition, there is a sample in MSTOOLS\WIN32S\UT\SAMPLES\UTSAMPLE.

Additional query words: 1.00 1.10 1.20 comm

Keywords :
Issue type :
Technology : kbWin32sSearch kbWin32s100 kbWin32s110 kbWin32s120


Last Reviewed: January 12, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.