copyToBitmapFile

new topic     » goto parent     » topic index » view thread      » older message » newer message

This is my first attempt at a serious Euphoria program, but I've managed 
to get up to the very last point of what I want to do and somethings 
wrong.

What I'm trying to do is get some status information from my computer, 
turn it into an image, and finally, upload that image to my website.  
I'm turning the text into an image by trying to take a snapshot of a 
small portion of my window if it has updated, checking every second with 
an onTimer event.  This works fine.  No errors come up and I've checked 
to make sure that what is supposed to be happening is actually 
happening.  But sometimes, and I can't get it to reliably reproduce, the 
.bmp I'm trying to save somes out corrupted.  I haven't added the upload 
code yet, I'm referring to the .bmp produced by copyToBitmapFile.

My question is:  Is there any problems I might not be aware about with 
using copyToBitmapFile, or is it likely some error in my code?

I am only trying to write the image every few minutes, the status 
doesn't change much, and I have tried deleting the old file before 
updating, renaming it, etc.

If anyone could shed any light on this (or another way I could aproach 
it) I would be so SO appreciative!

-=Cassidy=-

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu