Get desktop res?

Blitz3D Forums/Blitz3D Programming/Get desktop res?

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.

This is probably a long-shot, but is there any way to get the desktop res without resorting to a DLL/userlib call?

I'm messing with a pure 2D vector GFX library and would not only like to keep it resolution independant, I'd also like to preserve a 1:1 aspect ratio (so a displayed square will look properly square, regarless of screen res).

In order to achieve this, I need to know what the desktop res is.

If this can't be done, I may simply not bother supporting a 1:1 aspect ratio - it seems Blitz3D itself doesn't bother. :P

Thanks.