Oxygen Basic

Programming => Example Code => Topic started by: Aurel on February 20, 2020, 12:35:37 PM

Title: Double buffering example
Post by: Aurel on February 20, 2020, 12:35:37 PM
Hi Charles

i found one tiny problem in example: v0.2.8.
oxygenbasic\examples\WinGui\DoubleBuff.o2bas

when i try to compile this program i get pointer error in two lines

141  sub CustomDoubleBuffer(sys *pDat, sys *pPaintStruc)   
142  CustomData *pData : &pData = &pDat
143  PAINTSTRUCT *pPaintStruct : &pPaintStruct = &pPaintS

So i just add this two * and program work presenting something similar to chess board with blue & yellow rectangles.
I must say that i never see before this example.  ::)
nice  ;)