Click here to Skip to main content
15,896,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to mix audio and video Pin
Anonymous8-Dec-04 23:39
Anonymous8-Dec-04 23:39 
GeneralRename VC++ project name Pin
erkanina8-Dec-04 23:19
erkanina8-Dec-04 23:19 
GeneralRe: Rename VC++ project name Pin
Sujan Christo9-Dec-04 0:44
Sujan Christo9-Dec-04 0:44 
GeneralRe: Rename VC++ project name Pin
Cedric Moonen9-Dec-04 0:58
Cedric Moonen9-Dec-04 0:58 
GeneralRe: Rename VC++ project name Pin
erkanina14-Dec-04 2:33
erkanina14-Dec-04 2:33 
GeneralAbout CDialogBar Pin
pdtrung8-Dec-04 23:16
pdtrung8-Dec-04 23:16 
GeneralOLE problem with drag and drop Pin
jmostei8-Dec-04 23:02
jmostei8-Dec-04 23:02 
GeneralRe: OLE problem with drag and drop Pin
jmostei9-Dec-04 4:26
jmostei9-Dec-04 4:26 
i have found it, and i wish i can help anyone who finds the same problem... The cuestion is that when you call the CacheData function, you must care every value in the STGMEDIUM and FORMATETC structures. A good idea is to make something like this: ZeroMemory(pMedium, sizeof(STGMEDIUM )) and ZeroMemory(pFormatetc, sizeof(FORMATETC )) before beginning to give values to its members. You must remember too that since these two structures are passed to CacheData() they arent owned by aplication, that means for example that you can do Smile | :) something like this:
pMedium = new STGMEDIUM;
...;
...->CacheData(...,pMedium, ...);
...;
delete pMedium;

because this will surely cause a program´s crash.Smile | :)
GeneralRe: OLE problem with drag and drop Pin
jmostei9-Dec-04 4:26
jmostei9-Dec-04 4:26 
GeneralGetting document pointer Pin
Developer1018-Dec-04 22:58
Developer1018-Dec-04 22:58 
GeneralRe: Getting document pointer Pin
jmostei8-Dec-04 23:10
jmostei8-Dec-04 23:10 
GeneralRe: Getting document pointer Pin
Developer1019-Dec-04 8:43
Developer1019-Dec-04 8:43 
GeneralRe: Getting document pointer Pin
jmostei9-Dec-04 21:53
jmostei9-Dec-04 21:53 
GeneralRe: Getting document pointer Pin
Developer10110-Dec-04 20:13
Developer10110-Dec-04 20:13 
GeneralRe: Getting document pointer Pin
David Crow9-Dec-04 2:38
David Crow9-Dec-04 2:38 
Questionwhat are the best CButton derived classes ? Pin
Thomas Haller8-Dec-04 22:53
Thomas Haller8-Dec-04 22:53 
AnswerRe: what are the best CButton derived classes ? Pin
Maximilien9-Dec-04 2:27
Maximilien9-Dec-04 2:27 
GeneralRe: what are the best CButton derived classes ? Pin
Thomas Haller9-Dec-04 3:00
Thomas Haller9-Dec-04 3:00 
AnswerRe: what are the best CButton derived classes ? Pin
David Crow9-Dec-04 2:40
David Crow9-Dec-04 2:40 
GeneralRe: what are the best CButton derived classes ? Pin
Thomas Haller9-Dec-04 3:16
Thomas Haller9-Dec-04 3:16 
Generalwriting data in to an XML Pin
manimalap8-Dec-04 21:55
manimalap8-Dec-04 21:55 
GeneralRe: writing data in to an XML Pin
Ritu Kwatra8-Dec-04 23:57
Ritu Kwatra8-Dec-04 23:57 
GeneralProtection of to-be-executed written file Pin
Donny Tytgat8-Dec-04 21:38
Donny Tytgat8-Dec-04 21:38 
GeneralRe: Protection of to-be-executed written file Pin
David Crow9-Dec-04 2:46
David Crow9-Dec-04 2:46 
GeneralRe: Protection of to-be-executed written file Pin
Donny Tytgat9-Dec-04 6:36
Donny Tytgat9-Dec-04 6:36 

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.