2e3 Subj : Using CancelIo in BC++ 5 To : borland.public.cpp.borlandcpp From : "John W" Date : Wed Aug 06 2003 02:25 pm I'm using BC++ 5.02 and want to use CancelIo to abort pending async reads on a messaging queue. CancelIo is is located in kernel32.dll and defined in winbase.h in the Visual Studio set of include files. BC's winbase.h, however, does not include it. I tried copying its definition from the MS SDK files and recreating what I thought was the correct lib file, but the linker still can't find CancelIo and reports it as an unresolved external. I also tried PurgeComm, which is defined in BC's winbase.h, as a substitute, but it returns with a "failed" code. Any ideas? . 0