Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow many counts that the simple C++ code will call the Construction/Destruction ? Pin
wangningyu12-Nov-09 3:04
wangningyu12-Nov-09 3:04 
AnswerRe: How many counts that the simple C++ code will call the Construction/Destruction ? [modified] Pin
Cedric Moonen12-Nov-09 3:12
Cedric Moonen12-Nov-09 3:12 
GeneralRe: Thanks ! Pin
wangningyu12-Nov-09 3:15
wangningyu12-Nov-09 3:15 
GeneralOT- Damn... Pin
CPallini12-Nov-09 3:20
mveCPallini12-Nov-09 3:20 
GeneralRe: OT- Damn... Pin
Cedric Moonen12-Nov-09 3:22
Cedric Moonen12-Nov-09 3:22 
GeneralRe: Pin
wangningyu12-Nov-09 3:31
wangningyu12-Nov-09 3:31 
AnswerRe: How many counts that the simple C++ code will call the Construction/Destruction ? Pin
CPallini12-Nov-09 3:17
mveCPallini12-Nov-09 3:17 
QuestionSetting Properties of a DirectShow source filter (not DMO filter) in code (no GUI) Pin
RobstaHendricks12-Nov-09 2:44
RobstaHendricks12-Nov-09 2:44 
Ok, so I have been trawling the web to try and find an answer to this, but to no avail.

Basically, I have a DirectShow filter (well 2) which will allow me to configure a Hauppage WinTV USB adapter (though I doubt the specific filter is 100% relevant to answer the question) to use PAL (I) and to set the source as Composite In. So far, I have found ways to display a filter's property page, and to change the settings of a DMO filter, but not enumerate and change the properties of a non DMO source filter.

The reason for needing to do this is that both filter options seem to reset with Windows, meaning that our source becomes NTSC and Tuner In, rather than Pal-I and Composite In. The filters are classed as a Video Capture Source (WinTV HVR-900H Capture) and a WDM Streaming Crossbar Device (WinTV HVR-900H Crossbar), but the ability to change any property of any filter sans a GUI will be a step in the right direction

I am using a .Net wrapper to play with the filter graph through c#, but have limited knowledge of COM interop (thus the wrapper). If you know how to go about this in C++ then I'll do the code rearranging to C#.

What's the easiest method to go about this?
QuestionQueue Class Pin
Max++12-Nov-09 2:39
Max++12-Nov-09 2:39 
AnswerRe: Queue Class Pin
Cedric Moonen12-Nov-09 2:45
Cedric Moonen12-Nov-09 2:45 
QuestionFont size of ComboBox text Pin
m_mun12-Nov-09 2:31
m_mun12-Nov-09 2:31 
QuestionRe: Font size of ComboBox text Pin
David Crow12-Nov-09 5:12
David Crow12-Nov-09 5:12 
QuestionI need a programm in C Hexadecimal to decimal Pin
hapyharra12-Nov-09 1:26
hapyharra12-Nov-09 1:26 
AnswerRe: I need a programm in C Hexadecimal to decimal Pin
Rajesh R Subramanian12-Nov-09 1:29
professionalRajesh R Subramanian12-Nov-09 1:29 
AnswerRe: I need a programm in C Hexadecimal to decimal Pin
mav@octaval12-Nov-09 1:48
mav@octaval12-Nov-09 1:48 
AnswerRe: I need a programm in C Hexadecimal to decimal Pin
CPallini12-Nov-09 2:27
mveCPallini12-Nov-09 2:27 
QuestionBitmap::FromResource(HINSTANCE, WCHAR) , problem Pin
kk_Kevin12-Nov-09 1:14
kk_Kevin12-Nov-09 1:14 
AnswerRe: Bitmap::FromResource(HINSTANCE, WCHAR) , problem Pin
kk_Kevin12-Nov-09 1:33
kk_Kevin12-Nov-09 1:33 
GeneralRe: Bitmap::FromResource(HINSTANCE, WCHAR) , problem Pin
Hadi Dayvary12-Jan-21 5:21
professionalHadi Dayvary12-Jan-21 5:21 
QuestionCFileDialog and Vista + Win7 problem! Pin
Arrin12-Nov-09 1:01
Arrin12-Nov-09 1:01 
AnswerRe: CFileDialog and Vista + Win7 problem! Pin
Maximilien12-Nov-09 2:50
Maximilien12-Nov-09 2:50 
GeneralRe: CFileDialog and Vista + Win7 problem! Pin
Arrin12-Nov-09 3:58
Arrin12-Nov-09 3:58 
GeneralRe: CFileDialog and Vista + Win7 problem! Pin
Arrin12-Nov-09 21:17
Arrin12-Nov-09 21:17 
QuestionCScrollBar() in View Pin
Anu_Bala12-Nov-09 0:07
Anu_Bala12-Nov-09 0:07 
AnswerRe: CScrollBar() in View Pin
Hadi Dayvary12-Nov-09 2:02
professionalHadi Dayvary12-Nov-09 2:02 

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.