On Tue, Aug 11, 2009 at 6:10 PM, Ivan Boritsky<[email protected]> 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
