win32 capCreateCaptureWindow problem

Jarrett Billingsley jarrett.billingsley at gmail.com
Tue Aug 11 15:45:44 PDT 2009


On Tue, Aug 11, 2009 at 6:10 PM, Ivan Boritsky<nibble_20 at 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 capCreateCaptureWindow
>
> my compile comman is:
> dmd webcam.d gdi32.lib advapi32.lib
>
> what am i doing wrong? how can i acces my web cam?

The Windows headers that come with Phobos are extremely incomplete.
Try the WindowsApi bindings project instead:
http://dsource.org/projects/bindings/wiki/WindowsApi


More information about the Digitalmars-d-learn mailing list