N
nzfboy
Unregistered / Unconfirmed
GUEST, unregistred user!
1:假设mystr不为空。<br>var<br> Form1: TForm1;<br> mystr:array of char;<br> ...............<br>procedure a;<br>begin<br> try<br> Screen.Cursor := crHourGlass;<br> for name := mystr[low(mystr)] to mystr[High(mystr)] do<br> begin<br> showmessage(name);<br> end;<br> finally<br> Screen.Cursor := crDefault;<br> end;<br>end;<br><br>procedure tform1.WMQUERYENDSESSION(......);<br>begin<br> a;<br>end;<br><br>[Error] AutoEject.pas(203): Undeclared identifier: 'CloseAllCD'<br>为什么原因?<br><br>2eviceChange事件为何在光驱弹出时系统无法捕获,但当再送回时,系统此时会捕获到送完、弹出两个事件。