Could you please guide with the way one can access the WAB on vista .
I am using following steps on XP , it works good .
1. Read registry :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WAB\DLLPath
2. Load the wab32.dll from the following path :
C:\Program Files\Common Files\System\wab32.dll
3. And get the IAddressbook and other interface pointer .
But if I use the same above steps followed by the GetPAB , I get the error in loading the PAB .
hr = lpAddrBook->GetPAB(&lpcbEntryID, &lpEntryID);
if (hr != S_OK) throw; //error opening the PAB
Thanks in advance.
Regards.
EggHeadCafe - Software Developer Portal of Choice
.NET TreeView FAQ - Drag and Drop Right Click Menu
http://www.eggheadcafe.com/tutorials/aspnet/847ac120-3cdc-4249-8029-26c15de209d1/net-treeview-faq--drag.aspx