Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than oleaut32, prefix the name with the module name and a period.
LoadTypeLib (oleaut32)
.
C# Signature:
[DllImport("oleaut32.dll", CharSet=CharSet.Unicode, ExactSpelling=true )]
static extern int LoadTypeLib(string fileName, out ITypeLib typeLib);
[DllImport("oleaut32.dll", SetLastError=true)]
static extern TODO LoadTypeLib(TODO);
VB.Net Signatures:
Declare Unicode Function LoadTypeLib Lib "oleaut32.dll" (ByVal szFile As String, ByRef TPpTypeLib As System.Runtime.InteropServices.ComTypes.ITypeLib) As Integer
VB 6 Signature:
Declare Function LoadTypeLib Lib "oleaut32.dll" (szFile As Byte, pTLB As Object) As Long
Note that in v2.0 (Whidbey) of the .NET Framework, the System.Runtime.InteropServices.UCOMITypeLib interface has been deprecated in favor of System.Runtime.InteropServices.ComTypes.ITypeLib.
For backward compatibility, LoadTypeLib will register the type library if the path is not specified in the szFile parameter. LoadTypeLib will not register the type library if the path of the type library is specified. It is recommended that RegisterTypeLib be used to register a type library.
The LoadTypeLib function loads a type library from a file. It optionally registers a type library when no file is specified. (see Notes)
3/5/2008 3:48:18 AM - MDell-64.201.38.167
The LoadTypeLib function loads a type library from a file. It optionally registers a type library when no file is specified. (see Notes)
3/5/2008 3:48:18 AM - MDell-64.201.38.167
The LoadTypeLib function loads a type library from a file. It optionally registers a type library when no file is specified. (see Notes)
3/5/2008 3:48:18 AM - MDell-64.201.38.167
The RegisterTypeLib function adds information about a type library to the registry.
11/23/2007 1:26:46 PM - MDell-64.201.38.167
The UnRegisterTypeLib function removes type library information from the system registry. Use this API to allow applications to properly uninstall themselves. In-process objects typically call this API from "DllUnregisterServer".
12/4/2007 3:15:17 AM - MDell-64.201.38.167
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).