If you need to load the DLL, call LoadLibrary. Load the DLL at run time only if the key is not in the registry, if the path set in the key is invalid, or if you are using a version of Windows Internet Explorer earlier than Internet Explorer 4.0. With Microsoft Internet Explorer 4.0 or later, Wab32.dll is set in the registry at Increment the reference count by one and save the incremented value back to the registry.The value is a DWORD representing the number of clients registered to use the WAB. If the value does not exist, create the value using the Registry API.Increment the reference count by one and save the incremented value back to the registry. Look in the registry under: HKLM\Software\Microsoft\Windows\CurrentVersion\ If you include Wabapi.h in your application, use WAB_DLL_PATH_KEY as the name of the key to open. This DLL path is defined in Wabapi.h as WAB_DLL_PATH_KEY. The default value under this key gives the path of any WAB DLL installed on the computer. Look in the registry under: HKLM\Software\Microsoft\WAB\DLLPath The steps to increment the reference count are: To accomplish the registration, you must increment the reference count of the Wab32.dll in the SharedDLLs section of the registry. Registering Wab32.dll as a shared DLL prevents it from being inadvertently uninstalled while your application is running. If you want to use the WAB, you must register your application to use the Wab32.dll as a shared DLL. The WAB also has functions that provide access to the object interfaces. The WAB interfaces support many of the methods used by MAPI, and because they inherit from IUnknown, they have the standard AddRef, Release, and QueryInterface methods. The WAB API is based on MAPI, but the WAB does not use or require MAPI. The WAB provides an API that enables other applications to directly use its database and user interface services therefore, you can write programs that include address books. For specific information on using the Wab.exe program, see the Knowledge Base Article Q164531 and the Electronic Mail section of the Windows 98 Resource Kit. When you invoke Wab.exe, it creates and searches the file named Username.wab which is found in the Application Data directory. When you receive e-mail you can add the sender's contact information. Search for entries in your contact database.This address book application enables you to: The Wab.exe program is included with Windows 98 and later. Registering Your Application to Use WAB.The following topics are discussed in this document. For example, Microsoft Outlook uses the WAB as its e-mail address book. The WAB has a local database and user interface for finding and editing information about people, and it can query network directory servers using Lightweight Directory Access Protocol (LDAP). The WAB is an application and service that enables users to keep track of people. Windows provides an address book for storing contact information. For more information about this new mechanism for storing and retrieving contact information, see Windows Contacts. In Windows Vista, Windows Contacts replaces Windows Address Book (WAB).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |