Microsoft MVP성태의 닷넷 이야기
Windows: 25. Multiple Input Queues [링크 복사], [링크+제목 복사],
조회: 20281
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 1개 있습니다.)

Multiple Input Queues


2007년 3월 호 MSDN Magazine의 "BugSlayer" 편을 보면, 다음과 같은 흥미로운 이야기가 나옵니다.

"
In my 14 years of Windows development, the absolute best demo I've ever seen was at the Longhorn Professional Developer's Conference (PDC) in 2003. While sessions on Windows® Presentation Foundation and the Visual Studio® 2005 betas excited many attendees, the program manager for Active Accessibility® got the only standing ovation that I've ever seen at a technical conference. He demonstrated a build of "Longhorn," which is now Windows Vista™, that allowed separate input queues for a GUI application. His demo was playing Solitaire in the foreground while a Microsoft® .NET-based application using the underlying automation APIs from Active Accessibility added and removed hardware devices from Device Manager in the background! He even clicked around in the Device Manager and all input was ignored because the controller program had complete control of that input queue.
"



하지만,,, 아쉽게도 다음과 같은 이야기가 뒤따라 옵니다.

"
As I was working on this column, Windows Vista was released to manufacturing. Sadly, the multiple input queues feature that garnered such great applause didn't make it to the final release.
"



물론, 현재도 SendMessage 유의 함수를 이용해서 background에 있는 응용 프로그램을 어느 정도 제어할 수 있겠지만, 완벽하지는 않지요! 현재 (제가 알고 있는 한에서는), 키를 전달할 수 있는 가장 이상적인 방법은 keybd_event를 이용하는 것입니다. 하지만, 이것은 현재 "활성화 중인 윈도우"에만 전달이 될 뿐 background로 실행 중인 프로그램에는 영향을 줄 수가 없습니다. (마우스 키 전달도 마찬가지이고.)

아마도, 위의 데모에 의하면, keybd_event같은 함수가 비활성화된 윈도우에도 전달될 수 있는 입력 큐를 구현하는 것으로 보입니다.

어쨌든... 아쉽게 되었습니다. 그런 훌륭한 기능이 Vista에 구현되지 않았으니... 일단은 "진정한 UI 자동화"에 대해서는 다음 OS로 넘어가야 할 것 같습니다. 혹시나 싶어서, "Windows Server 2008"에서의 구현 여부에 대해서 위의 토픽의 저자인 "John Robbins"에게 메일로 문의를 했더니... 별로 희망적이지 않은 다음과 같은 답변이 왔습니다.

"
Sadly, I have no influence at Microsoft so don't know when the multiple input queue feature will be released. As far as I'm concerned, it can never be soon enough. I promise to keep requesting it inside Microsoft until it's fixed. :)
"



Thanks John. :)




[이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]

[연관 글]






[최초 등록일: ]
[최종 수정일: 4/10/2022]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 121  [122]  123  124  125  126  127  128  129  130  131  132  133  134  135  ...
NoWriterDateCnt.TitleFile(s)
10873정성태11/25/201525433.NET Framework: 540. C# - 부동 소수 계산 왜 이렇게 나오죠? (2) [3]파일 다운로드1
10872정성태11/24/201532396.NET Framework: 539. C# - 부동 소수 계산 왜 이렇게 나오죠? (1) [1]
10871정성태11/23/201528028오류 유형: 313. SignTool Error: No certificates were found that met all the given criteria.
10870정성태11/23/201528885오류 유형: 312. 윈도우 10 TH2 (버전 1511) 업데이트가 안되는 경우 [1]
10869정성태11/23/201524635오류 유형: 311. certutil 실행 오류 - 0x80070057 [1]
10868정성태11/20/201524507제니퍼 .NET: 25. 제니퍼 닷넷 적용 사례 (5) - RestSharp 라이브러리의 CPU High 현상파일 다운로드1
10867정성태10/18/201527067.NET Framework: 538. Thread.Abort로 인해 프로세스가 종료되는 현상
10866정성태10/14/201523317.NET Framework: 537. C# - Reflection의 박싱 없이 값 형식을 다루는 방법파일 다운로드1
10865정성태10/13/201523075.NET Framework: 536. Thread.Abort의 스레드 종료 지연파일 다운로드1
10864정성태10/12/201521260.NET Framework: 535. aspnet.config 파일의 설정을 읽는 방법
10863정성태10/9/201526082.NET Framework: 534. ASP.NET 응용 프로그램이 예외로 프로세스가 종료된다면?
10862정성태10/9/201524443오류 유형: 310. 비주얼 스튜디오 - Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
10861정성태10/9/201529080기타: 54. 도서: 시작하세요! C# 6.0 프로그래밍: 기본 문법부터 실전 예제까지 (2)
10860정성태10/5/201526539개발 환경 구성: 277. IIS AppPool의 시작/중단에 대한 이벤트 로그 확인 방법
10859정성태10/5/201527744.NET Framework: 533. C#에서 string 형식이 primitive일까요? [6]
10858정성태10/2/201524235VS.NET IDE: 105. Visual Studio의 단위 테스트 작성 시 Fakes를 이용한 메서드 재정의 방법 [1]파일 다운로드1
10857정성태10/1/201520280VS.NET IDE: 104. Visual C++ 프로젝트의 빌드 이벤트에서 환경 변수 사용하는 방법
10856정성태9/30/201531499.NET Framework: 532. WPF DataGrid의 데이터 바인딩 시 리플렉션의 부하는 어느 정도일까요?파일 다운로드1
10855정성태9/30/201521255.NET Framework: 531. C# - XSLT 내의 javascript에 전달한 XML 노드의 타입은?
10854정성태9/30/201521777오류 유형: 309. C# - 포인터를 쓰는 경우 VerificationException이 발생한다면?
10853정성태9/21/201519389오류 유형: 308. 공백 문자를 포함한 계정명의 권한으로 Visual Studio 확장을 설치할 때 오류 발생
10852정성태9/17/201524456VC++: 92. C++ 생성자를 DLL로부터 동적 로드해 객체를 생성한다면? [2]파일 다운로드1
10851정성태9/15/201524229.NET Framework: 530. C# - 중위식을 후위식으로 변환하는 예제파일 다운로드1
10850정성태9/14/201522924.NET Framework: 529. C# - volatile 키워드로 인한 차이점을 발생시키는 예제 [1]파일 다운로드1
10849정성태9/14/201556981오류 유형: 307. CLR20r3 오류 해결을 위해 mscorlib.dll을 덮어쓸때 주의할 점 [12]
10848정성태9/8/201527337VS.NET IDE: 103. Visual Studio의 Ctrl + F5 실행 동작파일 다운로드1
... 121  [122]  123  124  125  126  127  128  129  130  131  132  133  134  135  ...