Re: win32 capCreateCaptureWindow problem

2009-08-17 Thread Sam Hu
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

Re: win32 capCreateCaptureWindow problem

2009-08-14 Thread John C
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. i

Re: win32 capCreateCaptureWindow problem

2009-08-13 Thread Sam Hu
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 |

Re: win32 capCreateCaptureWindow problem

2009-08-12 Thread John C
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

Re: win32 capCreateCaptureWindow problem

2009-08-12 Thread Ivan Boritsky
thank u very much. it works fine.

Re: win32 capCreateCaptureWindow problem

2009-08-12 Thread Sam Hu
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: Error:

win32 capCreateCaptureWindow problem

2009-08-11 Thread Ivan Boritsky
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

Re: win32 capCreateCaptureWindow problem

2009-08-11 Thread Jarrett Billingsley
On Tue, Aug 11, 2009 at 6:10 PM, Ivan Boritskynibble...@gmx.com 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