Hello :
How to initialize a value that has this type:
?*os.windows.HMENU__opaque_4135 ?
In this instruction :
fn ajoutBouton (hwnd: w.HWND,hInstance: w.HINSTANCE,) void {
const BN_CLICKED = 1001;
I have this error :
affwin7.zig:143:9: error: expected type '?*os.windows.HMENU__opaque_4135', found 'comptime_int'
BN_CLICKED,
^~~~~~~~~~
D:\Logiciels\Zig\zig-windows-x86_64-0.11.0-dev.2545+311d50f9d\lib\std\os\windows\user32.zig:1294:203: note: parameter type declared here
pub extern "user32" fn CreateWindowExW(dwExStyle: DWORD, lpClassName: [*:0]const u16, lpWindowName: [*:0]const u16, dwStyle: DWORD, X: i32, Y: i32, nWidth: i32, nHeight: i32, hWindParent: ?HWND, hMenu: ?HMENU, hInstance: HINSTANCE, lpParam: ?LPVOID) callconv(WINAPI) ?HWND;
Thanck.
and
existe-il une communauté zig francophone ?