Danny Backx escreveu: > On Sun, 2007-06-03 at 20:14 +0100, Pedro Alves wrote: >> My first driver for WinCE, and I'm sure I've violated like 134 >> rules, but preliminary testing shows it works great. With this >> new driver, no temp file is needed, so no worries about >> disk space exhausting. Since the Pipe is blocking, I have >> perfect synchronization between child/parent. One thing is >> preventing it from being perfect, though. > > Looks great ! Can't help you though. The Boling book has a whole chapter > on device drivers (including examples), but I haven't read it yet. >
I found out how to automatically unload the device. WinCE stores the HANDLE to the device as seen on the device manager's address space (where the device runs), on the registry. Sigh... What a security risk. Oh, well, gotta live with them. I'm going extensive testing to catch all the corner cases. Child dies first, parent dies first, child dies, parent exits cleanly, etc, etc. I still see one hangup. Damn! Cheers, Pedro Alves ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel