www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - RegisterClass fails with x64

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.
Jun 11 2016