From: Kiran B. <kir...@wi...> - 2003-10-16 14:45:24
|
I wrote a simple device drover using mingw. I then loaded the driver successfully. The driver has DBG statement in both disptachCreate and dispatchClose function. I wrote an application (using Mingw) that does just opens and closes the device using CreateFile and CloseHandle. On execution, the DBG window shows=20 "Create Called" "Close Called" Now if I write an application (using Mingw) using open() and close() calls, and execute it, I see "Create Called" "Close Called" Printed six times !!! Can some throw light on this strange behaviour? Thanx Kiran |