OLE 자동화

위키백과, 우리 모두의 백과사전.

마이크로소프트 윈도우 애플리케이션 프로그래밍에서 OLE 자동화(OLE Automation, 나중에는 간단히 자동화로 이름이 변경됨[1][2])는 마이크로소프트가 개발한 프로세스 간 통신(IPC) 매커니즘이다. 컴포넌트 오브젝트 모델(COM)의 하위 집합에 기반을 두며, 스크립트 언어(원래는 비주얼 베이직)를 통해 사용되도록 고안되었으나 지금은 윈도우에서 여러 언어를 통해 사용할 수 있다. 모든 자동화 오브젝트들은 IDispatch 인터페이스의 구현이 요구된다. "자동화 컨트롤러"라는 이름의 응용 프로그램들이 다른 응용 프로그램들이 내보낸 공유 "자동화 오브젝트"를 접근하고 조작(예: 속성 설정 또는 메소드 호출)할 수 있는 인프라스트럭처를 제공한다. 애플리케이션이 다른 애플리케이션을 통제하는 더 오래된 매커니즘인 동적 데이터 교환(DDE)를 대체한다.[3] DDE처럼 OLE 자동화에서 자동화 컨트롤러는 "클라이언트"이며 자동화 오브젝트를 내보내는 애플리케이션은 "서버"이다.

이름과 대조적으로 자동화 오브젝트는 반드시 마이크로소프트 OLE를 사용할 필요는 없으나 자동화 오브젝트들 가운데 일부는 OLE 환경에서 사용이 가능하다. 이러한 혼동은 마이크로소프트의 초기 OLE 정의에 그 뿌리를 두고 있으며 이전에는 다소 COM과 동의어로 사용되기도 했다.

사용[편집]

지원 언어[편집]

자동화는 다음을 포함한 다양한 언어를 지원한다:

MFC 또는 ATL 등의 라이브러리와 함께)

같이 보기[편집]

각주[편집]

  1. Microsoft Corporation. “Automation (MFC)”. 《마이크로소프트 개발자 네트워크》. 
  2. KruJ.; Wingo, Scott; Shepherd, George (1998). 〈Chapter 25: Automation〉. 《Programming Microsoft Visual C++ 6.0》 5판. Redmond, WA: en:Microsoft Press. ISBN 978-1-57231-857-1. 
  3. Gordon McComb (1997). “Using OLE Automation to Control WordPerfect”. 2017년 8월 15일에 원본 문서에서 보존된 문서. 2019년 2월 27일에 확인함.  — McComb describes how to use OLE Automation instead of DDE to control 워드퍼펙트
  4. “Compiler COM Support”. 《MSDN》. Microsoft. 
  5. “OLE Automation using Delphi”. 《닷대시》. 2005년 11월 9일에 원본 문서에서 보존된 문서. 2019년 2월 27일에 확인함. 
  6. Appleman, Dan (2001). 〈Chapter 15: COM Interop and Accessing the Win32 API〉. 《Moving to VB.NET: Strategies, Concepts, and Code》. Apress. ISBN 978-1-893115-97-2. 
  7. Yehuda Shiran and Tomer Shiran. “OLE Automation in JavaScript”. 《WebReference》. 2011년 11월 2일에 원본 문서에서 보존된 문서. 2019년 2월 27일에 확인함.  — despite the title, the article discusses JScript rather than JavaScript
  8. “Open Object Rexx”. 
  9. Jan Dubois (Summer 1998). “Win32::OLE”. 《The Perl Journal》 3 (2). 
  10. The PHP Group (2006년 7월 25일). “PHP: COM and .Net (Windows)”. 
  11. Mark Hammond. “Python for Windows Extensions”. 
  12. Sourceforge. “Comtypes Python package”. 
  13. Tcl programmers. “OLE from a Tcl perspective”. 
  14. Stan Littlefield. “OLE TUTORIAL WINBATCH OLE PROGRAMMING”. 

외부 링크[편집]

  • OLE Automation General paper on the introduction and problems implementing OLE.
  • "VOLE - A Neat C++ COM/Automation Driver" — an open-source, compiler-independent C++ COM Automation driver library, for use when having to drive IDispatch directly. VOLE is highly robust, fully encapsulates all "low-level" aspects of IDispatch, and is very flexible, taking and returning normal C++ types.
  • Microsoft Corporation (December 1993). 《OLE 2 Programmer's Reference: Creating Programmable Applications with OLE Automation v. 2》. Programmer's Reference Library. Microsoft Press. ISBN 978-1-55615-629-8. 
  • Kraig Brockschmidt (1995). 《Inside OLE》. Microsoft Press. 
  • Microsoft Corporation (1996). 《OLE Automation Programmer's Reference》. Programmer's Reference Library. Microsoft Press. ISBN 978-1-55615-851-3. 
  • Microsoft Corporation (1999). 《Microsoft Office 2000 Visual Basic for Applications Language Reference》. Microsoft Press. ISBN 978-1-57231-955-4.  — full printed documentation of the object model of Microsoft Office