NO

Author Topic: VFW example  (Read 394 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1642
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: 471
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: 1642
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: 182
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: 1642
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