Hi Doug, that line's not the problem (although if the other line worked it probably would be.) The problem is this line:
and wc is declared on the line above. It's a WNDCLASS type which is not in your bmx file so I can't change the field type. Perhaps there's a way to convert a Byte Ptr to an Int safely?
wc.hInstance=GetModuleHandleA(0)
and wc is declared on the line above. It's a WNDCLASS type which is not in your bmx file so I can't change the field type. Perhaps there's a way to convert a Byte Ptr to an Int safely?