John C Wrote:
> Those are warnings, not errors. Ignore them, it will compile anyway.
Ah ..yes.It work .BTW,just cfw32.lib is needed,no need gdi32.lib to compile.
Thank you so much!
Regards,
Sam
Sam Hu wrote:
John C Wrote:
Sam Hu Wrote:
John C Wrote:
Ivan Boritsky wrote:
i work on a win32 application. i try to access my web camera.
when i use this api funtion;
capCreateCaptureWindow("cam", WS_VISIBLE + WS_CHILD, 10, 10,266, 252, hWnd, 0);
That should be: WS_VISIBLE | WS_CHILD.
John C Wrote:
> Sam Hu Wrote:
>
> > John C Wrote:
> >
> > > Ivan Boritsky wrote:
> > > > i work on a win32 application. i try to access my web camera.
> > > > when i use this api funtion;
> > > > capCreateCaptureWindow("cam", WS_VISIBLE + WS_CHILD, 10, 10,266, 252,
> > > > hWnd, 0);
> > >
> >
Sam Hu Wrote:
> John C Wrote:
>
> > Ivan Boritsky wrote:
> > > i work on a win32 application. i try to access my web camera.
> > > when i use this api funtion;
> > > capCreateCaptureWindow("cam", WS_VISIBLE + WS_CHILD, 10, 10,266, 252,
> > > hWnd, 0);
> >
> > That should be: WS_VISIBLE | WS_CHI
John C Wrote:
> Ivan Boritsky wrote:
> > i work on a win32 application. i try to access my web camera.
> > when i use this api funtion;
> > capCreateCaptureWindow("cam", WS_VISIBLE + WS_CHILD, 10, 10,266, 252, hWnd,
> > 0);
>
> That should be: WS_VISIBLE | WS_CHILD.
>
> >
> > i get this error:
thank u very much. it works fine.
Ivan Boritsky wrote:
i work on a win32 application. i try to access my web camera.
when i use this api funtion;
capCreateCaptureWindow("cam", WS_VISIBLE + WS_CHILD, 10, 10,266, 252, hWnd, 0);
That should be: WS_VISIBLE | WS_CHILD.
i get this error:
Error: undefined identifier capCreateCaptur
On Tue, Aug 11, 2009 at 6:10 PM, Ivan Boritsky wrote:
> i work on a win32 application. i try to access my web camera.
> when i use this api funtion;
> capCreateCaptureWindow("cam", WS_VISIBLE + WS_CHILD, 10, 10,266, 252, hWnd,
> 0);
>
> i get this error:
> Error: undefined identifier capCreateCapt
i work on a win32 application. i try to access my web camera.
when i use this api funtion;
capCreateCaptureWindow("cam", WS_VISIBLE + WS_CHILD, 10, 10,266, 252, hWnd, 0);
i get this error:
Error: undefined identifier capCreateCaptureWindow
my compile comman is:
dmd webcam.d gdi32.lib advapi32.lib