I have built a DLL that can be used for serial communications under NT4 and I want to use it under Win95 also.
If I call to CancelIo() anywhere in the code, the DLL fails to load under Windows 95 (GetLastError returns 31). It works fine under NT4.
The Visual C++ 5.0 help states that this function is not supported under Windows 95 (even though it compiles and links).
Are there any alternative ways to cancel any previous asynchronous Read() and Write() calls under 95?
Senior Software Analyst
C-C-C Technology Ltd