I noticed that I didnt call MAPIInit() , this is obvious
but my question is harder
Hello there !
I'm working on VC++ 6.0 on a Windows 2000 machine.
I'm trying to get IStream interface for a file, and I found the
function OpenStreamOnFile , which is part of the MAPI.
I'm calling this function:
HRESULT hr = OpenStreamOnFile (MAPIAllocateBuffer, MAPIFreeBuffer,STGM_READ, "C:\\testfile", NULL, &pStreamFile);
The file "testfile" exists.
The functio fails with return code hr = 0x8004010f.
Does anyway has any idea why the function is failing ?
please help - i have no idea !
thanks , Ron