Is there a simple way to test a DX9 driver in BMax

BlitzMax Forums/BlitzMax Programming/Is there a simple way to test a DX9 driver in BMax

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi Doug, that line's not the problem (although if the other line worked it probably would be.) The problem is this line:

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?