On Sunday, 27 January 2013 at 17:51:40 UTC, Benjamin Thaut wrote:
extern(Windows) <insert function definition here>

I am not sure what I was supposed to do, so I did this:

extern(Windows) ATOM RegisterClassExW(const WNDCLASSEXW *lpwcx);
ATOM class_atom = RegisterClassExW(&wc);

and got linker error:

OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
test.obj(test)
Error 42: Symbol Undefined __D4test8doWindow6__ctorMFZC4test8doWindow16RegisterClassExWWxPS4test8doWindow6__ctorMFZC4test8doWindow11WNDCLASSEXWZt@4
--- errorlevel 1

Reply via email to