NO

Author Topic: VFW example  (Read 188 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1582
VFW example
« on: May 31, 2017, 07:54:18 PM »
Small VFW example.
I needed small program to view video, so i made this.
May the source be with you

Offline jj2007

  • Member
  • *
  • Posts: 445
Re: VFW example
« Reply #1 on: May 31, 2017, 11:54:28 PM »
I get a MsgBox with "Bad version on 'WinMCI64.ppj'." >:(

Via the commandline it compiles fine, but not all AVI files work with it.
« Last Edit: June 01, 2017, 12:05:40 AM by jj2007 »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1582
Re: VFW example
« Reply #2 on: June 01, 2017, 07:21:59 AM »
In PellesC v8 poide64.exe needed for 64-bit projects.
« Last Edit: June 02, 2017, 12:13:12 PM by TimoVJL »
May the source be with you

Offline Robert

  • Member
  • *
  • Posts: 178
Re: VFW example
« Reply #3 on: June 01, 2017, 07:31:16 AM »
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.



Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1582
Re: VFW example
« Reply #4 on: June 01, 2017, 11:21:58 AM »
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
May the source be with you