Re: Display context using C
Hello,
At speed, it is possible to go faster by avoiding write to a file after each pixel read.
So, I do not understand why GetDC (handle) does not work as expected ... Perhaps he should try GetWindowDC.
I look in more detail when I have a windows on hand.
Re: Display context using C
Yes indeed, by not displaying the calculations in the console, but it is still far too slow. Should be treated the image in the second. Are even faster?
Re: Display context using C
Already, you do a GetDC (), but I see no ReleaseDC () in your code. Not good!
Re: Display context using C
Indeed, I copied the wrong code but there is! No function faster to process the image please?
Re: Display context using C
BitBlt () to copy a CD directly in another.
Then you can use functions slower, or directly to work in a DIB (Device-Independent Bitmap) ...
Re: Display context using C
Thank you but really I looked I can not find a tutorial that explains how it works.
Anyways Thank you