Click here to Skip to main content
15,896,063 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralDesign question (working with ATL OLE DB classes) Pin
CherezZaboro25-Aug-04 7:36
CherezZaboro25-Aug-04 7:36 
GeneralNeed help... Can the Dialog based MFC application be converted into an ATL application Pin
zubairyounas24-Aug-04 23:11
zubairyounas24-Aug-04 23:11 
GeneralHeads up: WTL 7.1 CImageList Pin
Jörgen Sigvardsson23-Aug-04 9:15
Jörgen Sigvardsson23-Aug-04 9:15 
GeneralRe: Heads up: WTL 7.1 CImageList Pin
Stuart Dootson23-Aug-04 14:18
professionalStuart Dootson23-Aug-04 14:18 
GeneralDB2 vendor API problem Pin
skoshal22-Aug-04 12:33
skoshal22-Aug-04 12:33 
GeneralDesign STL-like containers Pin
mistus21-Aug-04 4:25
mistus21-Aug-04 4:25 
GeneralRe: Design STL-like containers Pin
Jörgen Sigvardsson22-Aug-04 11:43
Jörgen Sigvardsson22-Aug-04 11:43 
GeneralReading from Outlook Express Address Book Pin
sirisha_kumari19-Aug-04 23:11
sirisha_kumari19-Aug-04 23:11 
Hello All,

I used wab32.dll in my application for reading email address from outlook express wab file. the application is working fine. but when i tried to convert the application into an ocx control. I am getting error at hr=GetContentsTable( MAPI_BEST_ACCESS ,&lpAB);

ULONG ulObjType=0;
LPMAPITABLE lpAB=NULL;
LPTSTR lppszArray=NULL;
ULONG cRows = 0;
LPSRowSet lpRow = NULL;
LPSRowSet lpRowAB = NULL;
LPABCONT lpContainer = NULL;
int cNumRows = 0;
int nRows=0;

HRESULT hr = E_FAIL;

ULONG lpcbEID;
LPENTRYID lpEID = NULL;

// Get the entryid of the root PAB container
//

hr = m_lpAdrBook->GetPAB( &lpcbEID, &lpEID);
if(HR_FAILED(hr))
goto exit;

ulObjType = 0;

// Open the root PAB container
// This is where all the WAB contents reside
//

hr = m_lpAdrBook->OpenEntry(lpcbEID, (LPENTRYID)lpEID, NULL, MAPI_BEST_ACCESS , &ulObjType, (LPUNKNOWN *)&lpContainer);
m_lpWABObject->FreeBuffer(lpEID);
lpEID = NULL;

if(HR_FAILED(hr))
goto exit;

// Get a contents table of all the contents in the
// WABs root container
//
if(ulObjType==MAPI_ABCONT)
{
hr = lpContainer->GetContentsTable( MAPI_BEST_ACCESS ,&lpAB);

if(HR_FAILED(hr))
goto exit;


After GetContentsTable i am unable to load the contents of the table in the lpAP. This code of sample works fine in standard exe.

Can any one please help me in getting out of this problem.

Thankyou,
sirisha.


sirisha
QuestionHow to get original HTML from IE Pin
vladamircevski19-Aug-04 8:29
vladamircevski19-Aug-04 8:29 
AnswerRe: How to get original HTML from IE Pin
Bill Rider3-Sep-04 6:15
Bill Rider3-Sep-04 6:15 
GeneralRe: How to get original HTML from IE Pin
Anonymous5-Sep-04 7:42
Anonymous5-Sep-04 7:42 
GeneralIHTMLElement Pin
vikramlinux18-Aug-04 22:58
vikramlinux18-Aug-04 22:58 
GeneralMaster ATL COM Pin
Anonymous18-Aug-04 21:09
Anonymous18-Aug-04 21:09 
GeneralRe: Master ATL COM Pin
Jörgen Sigvardsson22-Aug-04 11:46
Jörgen Sigvardsson22-Aug-04 11:46 
GeneralLearning about MDI in WTL7 Pin
janman12-Aug-04 11:15
janman12-Aug-04 11:15 
Generalopening multiple files in WTL Pin
MaStraub12-Aug-04 8:01
MaStraub12-Aug-04 8:01 
Generalin>>hex>>a + istringstream = Trouble! Pin
Paracelsus__12-Aug-04 3:08
Paracelsus__12-Aug-04 3:08 
GeneralRe: in>>hex>>a + istringstream = Trouble! Pin
darkbyte25-Aug-04 10:27
darkbyte25-Aug-04 10:27 
Generallinux C++ Pin
morrird11-Aug-04 8:23
morrird11-Aug-04 8:23 
QuestionBest IDE for WTL? Pin
rob agar11-Aug-04 2:00
rob agar11-Aug-04 2:00 
General[ Parse Data file & put the data into vector] Pin
Member 128563310-Aug-04 1:03
Member 128563310-Aug-04 1:03 
GeneralRe: [ Parse Data file & put the data into vector] Pin
Nitron26-Aug-04 5:09
Nitron26-Aug-04 5:09 
GeneralToolbar with trucolor bitmap buttons Pin
Mandalay8-Aug-04 3:56
Mandalay8-Aug-04 3:56 
GeneralRe: Toolbar with trucolor bitmap buttons Pin
Mandalay8-Aug-04 7:33
Mandalay8-Aug-04 7:33 
GeneralRe: Toolbar with trucolor bitmap buttons Pin
Tom J10-Aug-04 22:31
Tom J10-Aug-04 22:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.