Click here to Skip to main content
15,882,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Number of Children in a Particular Node Pin
kandukuri28-Jan-06 3:56
kandukuri28-Jan-06 3:56 
GeneralRe: Number of Children in a Particular Node Pin
Stephen Hewitt28-Jan-06 18:06
Stephen Hewitt28-Jan-06 18:06 
GeneralRe: Number of Children in a Particular Node Pin
kandukuri28-Jan-06 22:01
kandukuri28-Jan-06 22:01 
QuestionMDI Without menu Pin
bantisk27-Jan-06 23:24
bantisk27-Jan-06 23:24 
AnswerRe: MDI Without menu Pin
Joey Bloggs28-Jan-06 2:40
Joey Bloggs28-Jan-06 2:40 
GeneralRe: MDI Without menu Pin
bruspark9-Apr-06 23:28
bruspark9-Apr-06 23:28 
GeneralRe: MDI Without menu Pin
Joey Bloggs10-Apr-06 19:49
Joey Bloggs10-Apr-06 19:49 
QuestionHow to put IStream into IDataObject Pin
saravana pandy27-Jan-06 23:19
saravana pandy27-Jan-06 23:19 
Hai,
I am struggling, not able to put IStream object into IDataObject.Here is the code snippet.I get error at set data line as Access Violation.Pls help me
LPDATAOBJECT pDO ;

FORMATETC fmtetc = {0};
fmtetc.cfFormat = CF_TEXT;
fmtetc.dwAspect = DVASPECT_CONTENT;
fmtetc.lindex = -1;
fmtetc.tymed = TYMED_ISTREAM;
fmtetc.ptd = NULL;

//STGMEDIUM definition
STGMEDIUM medium = {TYMED_ISTREAM,NULL,NULL};
medium.tymed = TYMED_ISTREAM;
medium.pstm->AddRef();

//error in this line during execution
pDO->SetData(&fmtetc,&medium,TRUE);

Saravana Kumar
AnswerRe: How to put IStream into IDataObject Pin
Stephen Hewitt28-Jan-06 1:04
Stephen Hewitt28-Jan-06 1:04 
GeneralRe: How to put IStream into IDataObject Pin
saravana pandy28-Jan-06 1:21
saravana pandy28-Jan-06 1:21 
GeneralRe: How to put IStream into IDataObject Pin
Stephen Hewitt28-Jan-06 1:51
Stephen Hewitt28-Jan-06 1:51 
GeneralRe: How to put IStream into IDataObject Pin
saravana pandy28-Jan-06 2:01
saravana pandy28-Jan-06 2:01 
GeneralRe: How to put IStream into IDataObject Pin
Stephen Hewitt28-Jan-06 2:19
Stephen Hewitt28-Jan-06 2:19 
GeneralRe: How to put IStream into IDataObject Pin
saravana pandy28-Jan-06 2:32
saravana pandy28-Jan-06 2:32 
GeneralRe: How to put IStream into IDataObject Pin
Stephen Hewitt28-Jan-06 18:05
Stephen Hewitt28-Jan-06 18:05 
Questionhelp!!!!!!! Pin
V.G27-Jan-06 20:19
V.G27-Jan-06 20:19 
AnswerRe: help!!!!!!! Pin
Bobby Dreamer198527-Jan-06 22:47
Bobby Dreamer198527-Jan-06 22:47 
Questionfatal error RC1015: cannot open include file 'res\Tracker.rc2'. Pin
anishchowdhri27-Jan-06 14:28
anishchowdhri27-Jan-06 14:28 
AnswerRe: fatal error RC1015: cannot open include file 'res\Tracker.rc2'. Pin
Stephen Hewitt27-Jan-06 19:30
Stephen Hewitt27-Jan-06 19:30 
GeneralRe: fatal error RC1015: cannot open include file 'res\Tracker.rc2'. Pin
anishchowdhri29-Jan-06 11:54
anishchowdhri29-Jan-06 11:54 
GeneralRe: fatal error RC1015: cannot open include file 'res\Tracker.rc2'. Pin
Stephen Hewitt29-Jan-06 11:57
Stephen Hewitt29-Jan-06 11:57 
GeneralRe: fatal error RC1015: cannot open include file 'res\Tracker.rc2'. Pin
anishchowdhri31-Jan-06 12:45
anishchowdhri31-Jan-06 12:45 
QuestionSlow Cout down? Pin
DraconicNeo27-Jan-06 12:18
DraconicNeo27-Jan-06 12:18 
AnswerRe: Slow Cout down? Pin
PJ Arends27-Jan-06 12:35
professionalPJ Arends27-Jan-06 12:35 
GeneralRe: Slow Cout down? Pin
DraconicNeo27-Jan-06 14:41
DraconicNeo27-Jan-06 14:41 

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.