Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how can i specify the pathssa Pin
CPallini2-Jul-09 2:12
mveCPallini2-Jul-09 2:12 
GeneralRe: how can i specify the pathssa Pin
Michael Schubert2-Jul-09 2:28
Michael Schubert2-Jul-09 2:28 
GeneralRe: how can i specify the pathssa Pin
David Crow2-Jul-09 4:20
David Crow2-Jul-09 4:20 
GeneralRe: how can i specify the pathssa Pin
Michael Schubert2-Jul-09 4:26
Michael Schubert2-Jul-09 4:26 
GeneralRe: how can i specify the pathssa Pin
David Crow2-Jul-09 4:26
David Crow2-Jul-09 4:26 
GeneralRe: how can i specify the pathssa Pin
Michael Schubert2-Jul-09 4:39
Michael Schubert2-Jul-09 4:39 
GeneralRe: how can i specify the pathssa Pin
David Crow2-Jul-09 4:47
David Crow2-Jul-09 4:47 
Questionhow can i specify the path Pin
santhosh-padamatinti1-Jul-09 23:07
santhosh-padamatinti1-Jul-09 23:07 
Hi,

I am copying attachments into my PC. Where i am using IStream, this one directly saving attachments but those attachments are saved in only office 12 folder, how i can change the path.

code is:

LPSTREAM pStrmSrc = NULL, pStrmDest = NULL;
STATSTG StatInfo;
if (FAILED(hRes = lpAttach->OpenProperty(PR_ATTACH_DATA_BIN,
(LPIID)&IID_IStream,0,MAPI_MODIFY,(LPUNKNOWN *)&pStrmSrc)))
break;
if (FAILED(hRes = OpenStreamOnFile(MAPIAllocateBuffer,
MAPIFreeBuffer,STGM_CREATE | STGM_READWRITE,
pRows->aRow[i].lpProps[0].Value.lpszA,
NULL,&pStrmDest)))
break;

where pstrmsrc is source destination, pstrmdest is copying destination.
how can i specify my path in this

thanx in advance

sampath-padamatinti

AnswerRe: how can i specify the path Pin
Madhu Nair1-Jul-09 23:20
Madhu Nair1-Jul-09 23:20 
AnswerRe: how can i specify the path Pin
Chandrasekharan P1-Jul-09 23:21
Chandrasekharan P1-Jul-09 23:21 
AnswerRe: how can i specify the path Pin
Michael Haephrati2-Dec-16 5:40
professionalMichael Haephrati2-Dec-16 5:40 
QuestionCharts and Diagrams with C++? Pin
bosfan1-Jul-09 22:54
bosfan1-Jul-09 22:54 
AnswerRe: Charts and Diagrams with C++? Pin
CPallini1-Jul-09 23:13
mveCPallini1-Jul-09 23:13 
AnswerRe: Charts and Diagrams with C++? Pin
kilt2-Jul-09 2:47
kilt2-Jul-09 2:47 
QuestionC++ interview question Pin
minkowski1-Jul-09 21:51
minkowski1-Jul-09 21:51 
AnswerRe: C++ interview question Pin
Cedric Moonen1-Jul-09 22:02
Cedric Moonen1-Jul-09 22:02 
GeneralRe: C++ interview question Pin
minkowski1-Jul-09 22:17
minkowski1-Jul-09 22:17 
GeneralRe: C++ interview question Pin
CPallini1-Jul-09 22:19
mveCPallini1-Jul-09 22:19 
AnswerRe: C++ interview question Pin
_AnsHUMAN_ 1-Jul-09 22:04
_AnsHUMAN_ 1-Jul-09 22:04 
GeneralRe: C++ interview question Pin
molesworth1-Jul-09 22:32
molesworth1-Jul-09 22:32 
GeneralRe: C++ interview question Pin
minkowski1-Jul-09 22:37
minkowski1-Jul-09 22:37 
GeneralRe: C++ interview question Pin
molesworth1-Jul-09 23:35
molesworth1-Jul-09 23:35 
AnswerRe: C++ interview question Pin
CPallini1-Jul-09 22:14
mveCPallini1-Jul-09 22:14 
JokeRe: C++ interview question Pin
toxcct1-Jul-09 22:57
toxcct1-Jul-09 22:57 
GeneralRe: C++ interview question Pin
minkowski1-Jul-09 23:10
minkowski1-Jul-09 23:10 

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.