摘要:
char dec2hexChar(short int n) { if ( 0 <= n && n <= 9 ) { return char( short('0') + n ); } else if ( 10 <= n && n <= 15 ) { return char( short('A') + n - 10 ); } else { return char(0); }}short int hexChar2dec(char c) { if ( '0'<=c && c&l 阅读全文
摘要:
if IsWindow(Handle) then // If the application exists... begin WaitForInputIdle(HProcess, INFINITE); SetWindowLong(Handle, GWL_HWNDPARENT, Self.Handle); EnableWindow(Self.Handle, False); //WindowList := DisableTaskWindows(hProcess); MsgWaitForSingleObject(hProcess); EnableWindow(... 阅读全文