Microsoft MVP성태의 닷넷 이야기
Windows: 25. Multiple Input Queues [링크 복사], [링크+제목 복사],
조회: 20173
글쓴 사람
정성태 (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

비밀번호

댓글 작성자
 




... 151  152  153  154  155  156  157  158  159  160  161  162  [163]  164  165  ...
NoWriterDateCnt.TitleFile(s)
969정성태12/31/201040319VC++: 45. Winsock 2 Layered Service Provider - Visual Studio 2010용 프로젝트 [1]파일 다운로드1
968정성태12/30/201026542개발 환경 구성: 94. 개발자가 선택할 수 있는 윈도우에서의 네트워크 프로그래밍 기술 [2]
967정성태12/27/201028329.NET Framework: 197. .NET 코드 - 단일 Process 실행파일 다운로드1
966정성태12/26/201026273.NET Framework: 196. .NET 코드 - 창 흔드는 효과파일 다운로드1
965정성태12/25/201027773개발 환경 구성: 93. MSBuild를 이용한 닷넷 응용프로그램의 다중 어셈블리 출력 빌드파일 다운로드1
964정성태12/21/2010142941개발 환경 구성: 92. 윈도우 서버 환경에서, 최대 생성 가능한 소켓(socket) 연결 수는 얼마일까? [14]
963정성태12/13/201027824개발 환경 구성: 91. MSBuild를 이용한 닷넷 응용프로그램의 플랫폼(x86/x64)별 빌드 [2]파일 다운로드1
962정성태12/10/201022737오류 유형: 110. GAC 등록 - Failure adding assembly to the cache: Invalid file or assembly name.
961정성태12/10/201099735개발 환경 구성: 90. 닷넷에서 접근해보는 PostgreSQL DB [5]
960정성태12/8/201045030.NET Framework: 195. .NET에서 코어(Core) 관련 CPU 정보 알아내는 방법파일 다운로드1
959정성태12/8/201031854.NET Framework: 194. Facebook 연동 - API Error Description: Invalid OAuth 2.0 Access Token
958정성태12/7/201028831개발 환경 구성: 89. 배치(batch) 파일에서 또 다른 배치 파일을 동기 방식으로 실행 및 반환값 얻기 [2]
957정성태12/6/201031562디버깅 기술: 31. Windbg - Visual Studio 디버그 상태에서 종료해 버리는 응용 프로그램 [3]
953정성태11/28/201036812.NET Framework: 193. 페이스북(Facebook) 계정으로 로그인하는 C# 웹 사이트 제작 [5]
952정성태11/25/201025233.NET Framework: 192. GC의 부하는 상대적인 것! [4]
950정성태11/18/201076613.NET Framework: 191. ClickOnce - 관리자 권한 상승하는 방법 [17]파일 다운로드2
954정성태11/29/201048604    답변글 .NET Framework: 191.1. [답변] 클릭원스 - 요청한 작업을 수행하려면 권한 상승이 필요합니다. (Exception from HRESULT: 0x800702E4) [2]
949정성태11/16/201027145오류 유형: 109. System.ServiceModel.Security.SecurityNegotiationException
948정성태11/16/201035930.NET Framework: 190. 트위터 계정으로 로그인하는 C# 웹 사이트 제작 [7]파일 다운로드1
947정성태11/14/201041630.NET Framework: 189. Mono Cecil로 만들어 보는 .NET Decompiler [1]파일 다운로드1
946정성태11/11/201041452.NET Framework: 188. .NET 64비트 응용 프로그램에서 왜 (2GB) OutOfMemoryException 예외가 발생할까? [1]파일 다운로드1
945정성태11/11/201024969VC++: 44. C++/CLI 컴파일 오류 - error C4368: mixed types are not supported
944정성태11/11/201031438VC++: 43. C++/CLI 컴파일 오류 - error C2872: 'IServiceProvider' : ambiguous symbol could be ...
943정성태11/8/201030554디버깅 기술: 30. windbg ".loadby sos" 명령어 [2]
942정성태11/7/201042150.NET Framework: 187. 실행 시에 메서드 가로채기 - CLR Injection: Runtime Method Replacer 개선 [7]파일 다운로드3
941정성태11/6/201025074.NET Framework: 186. windbg로 확인하는 .NET CLR LCG 메서드(DynamicMethod) [1]파일 다운로드1
... 151  152  153  154  155  156  157  158  159  160  161  162  [163]  164  165  ...