Type Libraries
A type library is a file or part of a file that provides information about the functionality of a COM object. More specifically, the type library contains information about classes. A class is a description of an object. Type libraries themselves do not store actual objects; they only store information about those objects.
A type library specifies all the information an Automation client needs to call a method or property for an object. For properties, the type library describes the value it accepts or returns. For methods, the type library provides a list of all the arguments the method can accept, tells you the data type of each argument, and indicates whether an argument is required.
Type libraries can appear in any of the following forms:
- A resource in a .dll file
- A resource in an .exe file
- A stand-alone type library file (.tlb)
다음 표에서는 형식 라이브러리 정보가 파일을 보여 줍니다.
응용 프로그램 | 형식 라이브러리 |
Microsoft Access 2000 | Msacc9.olb |
Microsoft 바인더 2000 | Msbdr9.olb |
Microsoft Excel 2000 | Excel9.olb |
Microsoft Graph 2000 | Graph9.olb |
Microsoft Office 2000 | Mso9.dll |
Microsoft Outlook 2000 | Msoutl9.olb |
Microsoft PowerPoint 2000 | Msppt9.olb |
Microsoft Word 2000 | Msword9.olb |
Microsoft Access 2002 | Msacc.olb |
Microsoft Excel 2002 | Excel.exe |
Microsoft Graph 2002 | Graph.exe |
Microsoft Office 2002 | MSO.dll |
Microsoft Outlook 2002 | MSOutl.olb |
Microsoft PowerPoint 2002에서 | MSPpt.olb |
Microsoft Word 2002 | MSWord.olb |
Microsoft Office Access 2003 | Msacc.olb |
Microsoft Office Excel 2003 | Excel.exe |
Office 2003 그래프 | Graph.exe |
Microsoft Office 2003 | MSO.dll |
Microsoft Office Outlook 2003 | MSOutl.olb |
Microsoft Office PowerPoint 2003 | MSPpt.olb |
Microsoft Office Word 2003 | MSWord.olb |
Microsoft Office Access 2007 | Msacc.olb |
Microsoft Office Excel 2007 | Excel.exe |
Microsoft Office Outlook 2007 | MSOutl.olb |
Microsoft Office PowerPoint 2007 | MSPpt.olb |
Microsoft Office Word 2007 | MSWord.olb |
참고 이러한 형식 라이브러리 기본 위치는 다음과 같습니다.
Office 버전 | 경로 |
Office 2000 | C:\Program Files\Microsoft Office\Office |
Office XP | C:\Program Files\Microsoft Office\Office10 |
Office 2003 | C:\Program Files\Microsoft Office\Office11 |
Office 2007 | C:\Program Files\Microsoft Office\Office12 |
런타임에 형식 라이브러리에 대한 정보를 확인하려면 Visual Studio 6.0 함께 제공되는 TypeLibInformation ActiveX 개체를 tlbinf32.dll 사용하십시오. 다음 예제에서는 TypeLibInformation 사용하여 형식 라이브러리에서 기본 제공 상수 목록을 검색하는 방법을 보여 줍니다.
'1. SW 개발 & IT 트렌드' 카테고리의 다른 글
Open IoT Platform - IoTMakers Portal (0) | 2019.07.27 |
---|---|
KT S/W Developer Conference 2019 (0) | 2019.07.15 |
Installing TensorFlow on macOS (0) | 2018.05.01 |
유용한 ML 싸이트 (0) | 2018.04.08 |
레볼루션 스킨의 보안 문제 (0) | 2010.01.09 |
댓글