-
is5_DrawTextOnRGB not working in 5.0.6.3
A couple of my applications stopped writing text when I updated from 5.0.5.0 to 5.0.6.3. After investigating, I found they both use is5_DrawTextOnRGB.
No errors, just no text. The code has been used since 5.x was released and worked until now.
It works with 5.0.5.0, fails with 5.0.6.2 and 5.0.6.3. I did not try any in between. I went back to 5.0.5.0 for now.
Thanks,
Paul Samuelson
-
Re: is5_DrawTextOnRGB not working in 5.0.6.3
what were the values of the params in your is5_DrawTextOnRGB call ?
-
Re: is5_DrawTextOnRGB not working in 5.0.6.3
Here is a chunk of the WinBatch code:
#DefineFunction RGB(r,g,b)
Return r|(g<<8)|(b<<16)
#EndFunction
w=3000
TextLine = "Printed by ":Applet
Font = "Tahoma"
FontPixels = 50 ; pixels tall
TextColor = RGB(64,64,255) ;blue
CoverW = w*1.0
CoverH = 1000.0
bCover = BinaryAlloc(CoverW*CoverH*3)
BinaryPoke4(ROI,8,CoverW) ;rROI
BinaryPoke4(ROI,12,CoverH) ;bROI
BinaryPoke4(ROI,0,75) ;lROI
BinaryPoke4(ROI,4,25) ;tROI
DllCall(IS5,long:"_is5_DrawTextOnRGB",lpbinary:bCo ver,long:CoverW,long:CoverH,long:3*CoverW,lpstr:Te xtLine,lpstr:Font,long:FontPixels,lpbinary:ROI,lon g:0,long:0,long:TextColor)
-
Re: is5_DrawTextOnRGB not working in 5.0.6.3
5.0.6.4 fixed it.
Thanks,
Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules