The first 2 parameters of WinMain are HINSTANCEs, not HANDLEs.
This commit is contained in:
parent
11dbda6bf9
commit
2a6480231a
|
@ -7,7 +7,7 @@
|
|||
#include "vfw.h"
|
||||
|
||||
|
||||
int PASCAL WinMain (HANDLE hInstance, HANDLE prev, LPSTR cmdline, int show)
|
||||
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
{
|
||||
int n;
|
||||
HRESULT hres;
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "vfw.h"
|
||||
|
||||
|
||||
int PASCAL WinMain (HANDLE hInstance, HANDLE prev, LPSTR cmdline, int show)
|
||||
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
{
|
||||
int bytesline,i,n,pos;
|
||||
time_t tstart,tend;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "vfw.h"
|
||||
|
||||
|
||||
int PASCAL WinMain (HANDLE hInstance, HANDLE prev, LPSTR cmdline, int show)
|
||||
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
{
|
||||
int n=0,doabout=0,doconfigure=0;
|
||||
char buf[128],type[5],handler[5];
|
||||
|
|
Loading…
Reference in New Issue