New Version: 2015.0427
|
05-15-2015, 01:14 PM
Post: #37
|
|||
|
|||
CancelIO / CancelIOEx
Hello,
CancelIOEx is used in the emulator/con kit in order to cancel pending IO operations (USB or named pipe) which are used for communicating between the calculator and the conkit when the system detects that something went 'wrong' in order to try to 'restart' the communication. There is a 'watchdog' thread which monitors what is happening and cancels any pending operation as part of cleanup when it detects that things go wrong. Well, CancelIO does not work in this case as CancelIO only cancels IO operations that were started IN the thread in which it is called... CancelIOEx was created to remove this limitation and this is why it is used... Unfortunately, it is not available on XP... So, I guess the solution would be to let 'bad situation' stay 'bad' under XP instead of trying to fix them. I will have to see if there is a way to only conditionally 'load' CancelIOEx so that cleanup can happen properly on vista and above but is not referenced at all under XP so that these programs keep working under XP. Any clue there? Cyrille |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)