home *** CD-ROM | disk | FTP | other *** search
- uses wincrt,windos;
-
- const StandardDLL = 'c:\windows\framegrb';
- SpecialDLL = 'c:\windows\framer';
-
- {$I defs}
- {$I defs2}
-
- {*******************************************************************}
- begin
-
- {standard PC-Video initialization}
-
- PCV_LoadConfiguration;
- PCV_Initialize;
- PCV_SetColorkey(255);
- PCV_CreateWindow(0,0,640,480,true);
- PCV_SetWindowSize(640,480,true);
- PCV_SetWindowPosition(0,0);
- PCV_Freezevideo;
-
- {first thing to do is initialize the DLL. First parameter is the number
- of additional pages you require and the second parameter is the type
- of card installed.}
-
- {Card Type 0 = PE-Von PV100, Adda Aver 2000, Aitech Pro PC Video}
- {Card Type 1 = Creative Labs VideoBlaster}
-
- {A minimum of one extra page must be initailized.}
-
- InitDll(1,0);
- clearpage(0);
- blockrgb(0,0,640,480,100,100,100);
-
- {Make sure you have a .MMP and a .RLE file in the following path}
- {Note the filename has no extension}
-
- MaskImage('C:\windows\grabit\obj02',0,0,1,1,0);
-
- write('Press Enter');
- readln;
- Freememory;
- PCV_EXIT;
- halt(0);
- end.
-