Posted: Tue Oct 08, 2002 7:05 am
Restored from previous forum. Originally posted by SoulTaker.
Hi,
Ok big problem for me need some help on this. I'm converting my Visual Basic Custom API Drawing Procedures to PureBasic for all.
Problem:
Procedure A()
B(BackColor.l)
EndProcedure
Procedure B(Color.l)
heres the problem, i need to access 2 Structure here in B
VB Code:
Dim Brush As LOGBRUSH (Structure)
Dim lpRect As RECT (Structure)
EndProcedure
How do I get access to these 2 Structures?
I know that i can pass a pointer to the structures.
*lpRect.RECT and *Brush.LOGBRUSH
But i only need to use them in Procedure B not A.
Procedure A calls Procedure B.
Any help on this would be appreciated.
Thank you.
Abit BD7-II Raid P4 1.9 gHz 384 Ram Xtasy GFroce 3 TI 200 CD-RW DirectX 9.0 Beta 2 Sound Blaster Live! XP Pro, Registered PureBasic version 3.30 For Windows.
Hi,
Ok big problem for me need some help on this. I'm converting my Visual Basic Custom API Drawing Procedures to PureBasic for all.
Problem:
Procedure A()
B(BackColor.l)
EndProcedure
Procedure B(Color.l)
heres the problem, i need to access 2 Structure here in B
VB Code:
Dim Brush As LOGBRUSH (Structure)
Dim lpRect As RECT (Structure)
EndProcedure
How do I get access to these 2 Structures?
I know that i can pass a pointer to the structures.
*lpRect.RECT and *Brush.LOGBRUSH
But i only need to use them in Procedure B not A.
Procedure A calls Procedure B.
Any help on this would be appreciated.
Thank you.
Abit BD7-II Raid P4 1.9 gHz 384 Ram Xtasy GFroce 3 TI 200 CD-RW DirectX 9.0 Beta 2 Sound Blaster Live! XP Pro, Registered PureBasic version 3.30 For Windows.