How to pass a rectangle parameter

Started by Petrus Vorster, June 16, 2015, 05:00:39 PM

Previous topic - Next topic

Petrus Vorster

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????
-Regards
Peter

Petrus Vorster

Nevermind....
Old Chinese saying : "IF ALL ELSE FAILS, READ INSTRUCTIONS....."

:-[
-Regards
Peter