Does anybody here have any experience utilizing DirectX/DirectShow in order to create capture devices/encoding devices? If so, could you please let me know, I have some questions that I cannot find the answer to and am hoping someone here can help. Thanks in advance. Roger Printy Software Engineer TeraNex Orlando, FL
Roger
Posts
-
Direct X -
Workspace setupWhere is the flag that I can set in MS Visual C++ that will allow me to have an instance of MS Visual C++ open, then double click a .dsw in Windows Explorer and have that workspace open in another instance of MS Visual C++? I know I have something set somewhere that allows this, I just cannot remember. Any help? Roger Printy Software Engineer TeraNex Orlando, FL
-
NT ServiceDoes anyone have a guideline that I can use on how to create an NT service that will allow use of MFC? If so can you please point me in the right direction. Thanks! Roger Printy Software Engineer TeraNex Orlando, FL
-
Stopping an application...Works like a dream, it really did not matter which one was closed, probably better to have the new instance stopped rather than the last instance. Thanks! Roger Printy Software Engineer TeraNex Orlando, FL
-
Stopping an application...Both really. Like I said, I have done it before just cannot find the source code I used. Roger Printy Software Engineer TeraNex Orlando, FL
-
Stopping an application...I want to add the capability to my dialog based application so when I start it, it looks to see if any other instances of the application are running. If there is one already running, that instance will be killed and the new instance will be started. How can I do this, I know I have seen it on here before but cannot find the solution. Any help? Roger Printy Software Engineer TeraNex Orlando, FL
-
CCheckBox buttonsI am trying to use CCheckBox buttons (push-like property set) on a dialog. When one is selected I need to change the text color and the background color of the selected button. I am using CColorButton in order to do this with standard CButtons, but how can I change the color of these CCheckBox buttons? Roger Software Engineer
-
Windows Media Encoder/Format SDKsDoes anyone here have any experience with using either or both the Windows Media Encoder SDK and/or the Windows Media Format SDK? If so I hope you can help me answer the following question. Using these SDKs I am able to create a profile, create an encoding session, and run this session, I only have one drawback. I cannot correctly specify the audio codec in the profile. I set the WM_MEDIA_TYPE.subtype parameter to be equal to the GUID of the codec I want to use and cannot properly create a profile. But, when I compare the .prx file this profile was saved to against another .prx file that a profile created using the profile manager (with the same parameters as the profile I created using the SDKs) I have one difference in the audio setup. There is a field named codecdata in the .prx file that differs, even though I have set the same parameters in both profiles (one created with the SDKs does not match up to the one I created with the profile manager). Can anyone help me with this problem? If so I will very much appreciate it! Thanks in advance. Roger Printy Software Engineer TeraNex Orlando, FL
-
Windows Media Encoder/Format SDKsDoes anyone here have any experience with using either or both the Windows Media Encoder SDK and/or the Windows Media Format SDK? If so I hope you can help me answer the following question. Using these SDKs I am able to create a profile, create an encoding session, and run this session, I only have one drawback. I cannot correctly specify the audio codec in the profile. I set the WM_MEDIA_TYPE.subtype parameter to be equal to the GUID of the codec I want to use and cannot properly create a profile. But, when I compare the .prx file this profile was saved to against another .prx file that a profile created using the profile manager (with the same parameters as the profile I created using the SDKs) I have one difference in the audio setup. There is a field named codecdata in the .prx file that differs, even though I have set the same parameters in both profiles (one created with the SDKs does not match up to the one I created with the profile manager). Can anyone help me with this problem? If so I will very much appreciate it! Thanks in advance. Roger Printy Software Engineer TeraNex Orlando, FL
-
WAVEFORMATEXI am trying to write a control application for the Windows Media Encoder using the Microsoft supplied Media Format SDK and Media Encoder SDK. I must use the WAVEFORMATEX structure in order to properly set the audio streaming configuration. In the two SDKs as well as the DirectX 8.0 SDK and MSDN it states formulas to calculate the nBlockAlign and nAvgBytesPerSec. Does anyone know if these formulas are correct? I looked at data used by already existent stream configurations and the values given do not match the values gotten when using these formulas. Any help? Roger Printy Software Engineer TeraNex Orlando, FL
-
Win Media Encoder/Format SDKDoes anyone on here have any experience working with either the Windows Media Encoder SDK or the Windows Media Format SDK? If so please drop me a line, I am struggling through something and could use some assistance. Roger Printy Software Engineer TeraNex Orlando, FL
-
Keyboard dialogAny help on doing that, this is new to me. Also, how would you suggest to create an array of button objects that in a constructor is initialized to have each element in the array be a pointer to a button. I am doing this, am I correct because it seems to not be working completely: CButton *m_pLetterBtn[19]; m_pLetterBtn[1] = (CButton *)GetDlgItem(IDC_KEY_1); m_pLetterBtn[1] = (CButton *)GetDlgItem(IDC_KEY_2); m_pLetterBtn[1] = (CButton *)GetDlgItem(IDC_KEY_3); . . . Roger Printy Software Engineer TeraNex Orlando, FL
-
Keyboard dialogI am designing a dialog that resembles a keyboard that will allow the user to enter passwords, keys, etc... Is it possible to create a single message handler for all of the buttons (letters, numbers, spacebar, -, and .), and if so how do you differetiate between which button was actually pressed. Or, do I have to have a single message handler for each individual keyboard button? Roger Printy Software Engineer TeraNex Orlando, FL
-
DCOM ServerI take that back, I still want to be able to pass a parameter from the DCOM server to the client application but do not want to specify the type of the parameter. Is there a way to do this?
-
DCOM ServerI take that back, I still want to be able to pass a parameter from the DCOM server to the client application but do not want to specify the type of the parameter. Is there a way to do this?
-
DCOM func parametersIs it possible to pass a parameter of type void * in a DCOM interface? If not, is there a way around passing data structures via address where the type is not specified?
-
DCOM ServerNevermind, I answered my own question.
-
DCOM ServerI am trying to write a DCOM server application. Some of the interface functions have paramaters that are user defined data types (structs). I have the header files where these type definitions are included in the server .h file included in the .h file of the server .cpp file. When I try to build, I receive the following error that points back to the .idl file: "Expecting type specification near "data_type". Any advice on how to remedy this. I am fairly new to DCOM/COM programming.
-
DCOM serverI am trying to write a DCOM server application. Some of the interface functions have paramaters that are user defined data types (structs). I have the header files where these type definitions are included in the server .h file included in the .h file of the server .cpp file. When I try to build, I receive the following error that points back to the .idl file: "Expecting type specification near "data_type". Any advice on how to remedy this. I am fairly new to DCOM/COM programming.
-
String tableThat is what I ended up doing. I was more curious than anything about posting into the string table, seems like something that would be neat (technical term) to be able to do though. Thanks for the help!