RegisterClass fails with x64

Incognito via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 11 11:52:59 PDT 2016


Hi,

I am trying to create a win32 window using RegisterClass(Ex). It 
fails on x64 but works on x86. The error code is 998 = 
ERROR_NOACCESS, Invalid access to memory location.

For x64 I used -L/ENTRY:mainCRTStartup because of link error(not 
finding entry point). Not sure if this is causing the problem or 
not.






More information about the Digitalmars-d-learn mailing list