摘要 |
<P>PROBLEM TO BE SOLVED: To reduce a burden of a programmer and to detect inserting/pulling out of a USB device even in an application program which cannot receive a message by a window. <P>SOLUTION: A host device 1 to which a USB device 11 is connected reads out and executes a DLL (a USB inserting/pulling out processing program 104), when executing an application program 103. On receiving a window message, the DLL determines a kind of the message, and when the window message indicates that the USB device 11 has been inserted, executes processing for opening a USB device driver 102, and when the window message indicates that the USB device 11 has been pulled out, executes processing for closing the USB device driver 102. <P>COPYRIGHT: (C)2012,JPO&INPIT |