Help to fix the error
Posted: Wed Apr 11, 2018 2:24 am
The strange thing is that at home I have this error does not occur, and the work arises. In another function of the same program I use exactly the same call and it does not result in an error at work. I can't understand why.
Code: Select all
@ 0,0 DCSTATIC TYPE XBPSTATIC_TYPE_BITMAP CAPTION mFileName OBJECT oStatic1 ;
PREEVAL {|o|o:autoSize := .t.} EVAL {|o|hDC1 := GetWindowDC(o:getHWnd()), o:motion := {|a,b,o|ShowColorTr( hDC1, a, oSay, o )},;
aPixel := Array(o:caption:xSize,o:caption:ySize), o:paint := {|a,b,o|Gratest(o)}}