now I didn't have RegisterClassExW, how to import that ?
rsk82
rsk82 at live.com
Sun Jan 27 10:01:37 PST 2013
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 at 4
--- errorlevel 1
More information about the Digitalmars-d
mailing list