PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Petrus Vorster on June 16, 2015, 05:00:39 PM

Title: How to pass a rectangle parameter
Post by: Petrus Vorster on June 16, 2015, 05:00:39 PM
I am a bit lost here.

I am playing with a DLL which came along with its own Powerbasic .Inc for all the functions.
This one functions requires me to give it a rectangle parameter:
DECLARE SUB VpePreviewDoc LIB "vpec3270.dll" ALIAS "VpePreviewDoc" _
    (BYVAL hDoc AS LONG, BYREF rc AS RECT, BYVAL show_hide AS LONG)


The Byfref RC as RECT, I have never done in any declare function before.
How do one declare four cornersusing BYREF as RECT????
Title: Re: How to pass a rectangle parameter
Post by: Petrus Vorster on June 16, 2015, 05:15:51 PM
Nevermind....
Old Chinese saying : "IF ALL ELSE FAILS, READ INSTRUCTIONS....."

:-[