Elecard
May 19, 2013, 05:45:24 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  PC Development Kits / Elecard Codec .NET SDK G4 / Re: ModuleConfig interface for non-Elecard filters on: October 27, 2008, 02:36:15 am
there's no way to set the properties programatically?
2  PC Development Kits / Elecard Codec .NET SDK G4 / ModuleConfig interface for non-Elecard filters on: October 26, 2008, 12:16:12 pm
Hi.
I have attempted to do this in the past, but have given up due to lack of examples of how to do it, and it seems to be a subject that isn't discussed in any of the documentation, but would be very helpful if it was.
ModuleConfig works very well for the Elecard codecs.. but what if I want to set the parameters of a non-Elecard codec?
For example, I use the "AVI Mux" filter that comes with windows (in qcap.dll)
The code:

public Filter AviMux;
Guid clsidAviMux = new Guid("E2510970-F137-11CE-8B67-00AA00A3F1A6");
AviMux = new Filter(ref(clsidAviMux));
ModuleConfig mc = AviMux.GetConfigInterface();

mc is always returned as null

Many thanks
Richard Kearsley
3  PC Development Kits / Elecard SDK / Re: Troubleshooting Exceptions: System.AccessViolationException on: June 18, 2008, 11:39:30 pm
because the property page is able to be opened in graphedit (in vista) with no problems, only when it comes to being opened by the elecard ShowPropPage method does it not work.

Are you able to offer any advice to say wether if I upgraded my elecard sdk version, would it work?

And since elecard sdk is the thing I paid a lot of money for, and it's the only variable factor (I can't change vista or the pinnacle drivers!), so wether or not the problem is with those is irrelevant, I just need to know if I upgrade to a later version (i.e. pay you more money... you like money, don't you?) would it work?
4  PC Development Kits / Elecard SDK / Troubleshooting Exceptions: System.AccessViolationException on: May 14, 2008, 09:38:48 pm
Hi guys. I'm in the process of converting my application to work in Vista (argh!)

I'm having a problem with this part.. (it works fine in XP):

Code:
foreach (Device device in deCrossbar.GetDevicesList())
                {
                    if (device.FriendlyName == "Dazzle DVC170 CrossBar")
                    {
                        DazCrossBarFilter = device.BindFilter();
                       // Thread oThread = new Thread(new ThreadStart(aicp.AI_Crossbar));
                       // oThread.Start();
                        DazCrossBarFilter.ShowPropPage(parentform.Handle, "Xtek 1");
                        if (DazCrossBarFilter != null)
                        {
                            foreach (Device device2 in deCapture.GetDevicesList())
                            {
                                if (device2.FriendlyName == "Dazzle DVC170")//WinTV USB2 VideoDazzle DVC170
                                {
                                    DazUSBFilter = device2.BindFilter();
                                 //   Thread oThread2 = new Thread(new ThreadStart(aicp.AI_Cap));
                                 //   oThread2.Start();
                                    DazUSBFilter.ShowPropPage(parentform.Handle, "Xtek 2");


The error occurs on the last line (ShowPropPage). The earlier ShowPropPage (for the crossbar) works fine, and the page appears as normal.

The exception it throws is:

Quote
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at OleCreatePropertyFrame(HWND__* , UInt32 , UInt32 , UInt16* , UInt32 , IUnknown** , UInt32 , _GUID* , UInt32 , UInt32 , Void* )
   at Elecard.Utilities.Filter.ShowPropPage(IntPtr hwnd, String szTitle)
   at XDBGui.CaptureClassPinnacleDVC170_MPEG2.CreateFilters() in D:\Visual Studio 2005\Projects\XDBGui_v\XDBGui\VideoClasses\CaptureClassPinnacleDVC170_MPEG2.cs:line 86


I should add that the drivers are Vista certified and the prop page appears with no problems in graphedit.

I'm running consts.dll Assembley version 1.1.50725.0 (am I eligable for any updates that may fix the problem?)

Thanks for any help!
5  PC Development Kits / Elecard SDK / .Net SDK ModuleConfig question on: September 07, 2007, 01:30:11 am
Hi. Could any more light be shed on this subject? I am trying to set the video format of a capture device in the crossbar filter - it defaults to NTSC mode, and I need to change that parameter to PAL_I every time the applications is run. How can I set this value through code?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!