NO

Author Topic: VFW example  (Read 5553 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2098
VFW example
« on: May 31, 2017, 08: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: 536
Re: VFW example
« Reply #1 on: June 01, 2017, 12:54:28 AM »
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, 01:05:40 AM by jj2007 »

Offline TimoVJL

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

Offline Robert

  • Member
  • *
  • Posts: 247
Re: VFW example
« Reply #3 on: June 01, 2017, 08: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: 2098
Re: VFW example
« Reply #4 on: June 01, 2017, 12:21:58 PM »
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