C language > User contributions

VFW example

(1/1)

TimoVJL:
Small VFW example.
I needed small program to view video, so i made this.

jj2007:
I get a MsgBox with "Bad version on 'WinMCI64.ppj'." >:(

Via the commandline it compiles fine, but not all AVI files work with it.

TimoVJL:
In PellesC v8 poide64.exe needed for 64-bit projects.

Robert:
Thanks Timo

I'm running Windows 10 64 bit, where there is no vfw32.dll. It has been replaced by msvfw32.dll so I had to change

#pragma comment(lib, "vfw32.lib")

to

#pragma comment(lib, "msvfw32.lib")

I'm not sure, but I think that frankie's SDK must be installed to use the msvfw32.dlls.


TimoVJL:
MCIWndCreate function
--- Quote ---Requirements

Minimum supported client   Windows 2000 Professional [desktop apps only]
Minimum supported server   Windows 2000 Server [desktop apps only]
Header   Vfw.h
Library   Vfw32.lib
DLL   Msvfw32.dll
--- End quote ---

Navigation

[0] Message Index

Go to full version