

Ncast Digitizer Card's controls may be accessed from inside of any application. 
Following samples show how to do this, with (1) Direct Show, (2) provided DLL library.


The functionality (control description) is described in file "ncastwd3.idl"
provided with this package (directory "include").



PLAY CAP MONIKER NCAST
----------------------

The first example, PlayCapMonikerNcast shows how to access Digitzer Card's controls
with Direct Show.

Currently sample has been compiled with SDK from February 2006, and Direct Show from February 2005,
but any other version of SDK and Direct Show should work. 


Copy the sample directory "PlayCapMonikerNcast" into DirectShow's directory, next to 
orignal PlayCapMoniker sample, and try to compile. 


Compile "Base Classes" earlier (see DirectShow C++ Samples directory), with configuration set to "Release", 
since this is the proper way for obraining "strmbase.dll".

Application may complain, about "ncastwd1_h.h" file, that can be named "ncastwd1.h" - depending
on installed MDL compiler. In such case just change "ncastwd_1.h" to "ncastwd1.h" in sample code.

The application allows user to select current input, on main window, PIP window, and
switch between PIP/Full Screen modes. 

All other controls described in ncastwd3.idl file are available.


Please, before running the code, check if Digitizer Card is running properly.



Obtaining digitizer control:

// include

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
#include "ncastwd1_h.h"
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<



// definition


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
INcastDigitizer3 * g_pConfig=NULL;	//class with functions (interface) to NCastDigitizer3 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<



After obtaining Ncast Digitizer III filter:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	IBaseFilter* piFilter;
        hr = (*ppMoniker)->BindToObject(
                                    NULL,
                                    NULL,
                                    __uuidof( piFilter ),
                                    reinterpret_cast< void** >( &piFilter ) );
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

query for the interface:


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
        hr = piFilter->QueryInterface(
                                __uuidof( g_pConfig ),
                               reinterpret_cast< void** >( &g_pConfig ) );
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


if this will succeed, then Ncast Digitizer Card is connected and running properly. 

If this will fail, then most probably, piFilter does not points to Digitizer Card, 
or Digitizer Card is not installed properly for some reason.














FASTCAST.DLL
-------------


This is simple application using "fastcast.dll".

This library, if found usefull may be extended in a future. 




























