This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: CancelIo()


Hello Mumit,

I tried your prototype with a little test program as follows :

#==================================
#include <stdlib.h>
#include <windows.h>

BOOL WINAPI CancelIo(HANDLE);

int
main( void )
{
    HANDLE iohandle;
    
    CancelIo( iohandle );
    
    exit( EXIT_SUCCESS );
}
#==================================

Making of the program puts everytime a "undefined reference to
'CancelIo@4'", regardless if the compiler/linker-options like -mno-cygwin
and -mwindows are set or not. Therefore, which library contains the
CancelIo-Function ?
Sorry for these pedantic questions, but I feel like a newbie now.

Regards

André

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]