Extern "User32" fails

BlitzMax Forums/BlitzMax Beginners Area/Extern "User32" fails

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.

I wanted to use Extern "user32" so that I could access some API functions such as GetWindowLong, SetWindowLong, ShowWindow etc but the compiler says "Unrecognised calling convention 'User32'".

In fact the reason I want these is so that if I create a graphics window using depth 0 I can add minimise/maximise and close buttons (inc. System Menu) with API calls. Unless there is an easier way, is there?