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
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
The 'static' keyword is required by dmd 2.031 for the second of these two
definitions:
int[2] static_0 = [ 1, 1 ];
static int[2] static_1 = [ 1:1 ];
Is this inconsistency by design? Should 'static' be required for both or
neither?
Ali
Does the expression [ 0, 1, 2 ] form an immutable array? If so, is the
assignment to a[0] undefined below? Is it trying to modify an immutable element?
int[] a = [ 0, 1, 2 ];
a[0] = 42;
The reason for my thinking that [ 0, 1, 2] is an array is because it has the
.dup property and this
Some time ago I requested something on .D, but it was ignored.
I'm interested in why this is so.
It was only a small request, maybe not fitting for .D but dsourse/phobos
said that was the place for such things.
(Maybe it was unintelligible again?)
---
Could an option be added to the formatting
Why is function overloading not applied to nested functions?