February 4th, 2011, 03:22 PM
I am trying to add a piece of software into my Visual C++ program to take a screenshot of the desktop screen several times and save the images in a folder. The program displays animated image...
September 30th, 2010, 11:08 PM
I am still waiting to hear your opinion
many thanks in advance
September 30th, 2010, 11:04 PM
Thank you so much for help
I think I did what you suggested (to the best of my knowledge)
to locat memory I used the expressions such as :
unsigned char *pixels_index_temp = new unsigned...
September 27th, 2010, 06:00 PM
thanks for remark
I will be aware of that.
At any case, this part of the code is not reached at the moment because of the mentioned problem. the texture that is meant to be displayed with this...
September 27th, 2010, 04:24 PM
thank you very much
based on your note I am going to use subimage then
September 27th, 2010, 02:55 PM
WGL Message:WGL: DDraw: Allocate: Create: DDERROR = DDERR_OUTOFVIDEOMEMORY
from thisshould I assume that the problem is about the video memory? if so, any suggestion to do ?
many thanks again
September 27th, 2010, 02:32 PM
I used cleanup but it really doesn't make a big diference. it only changes the point where the program crashes . at any case I will keep calling it after loading the file.
Thank you for help
September 27th, 2010, 02:11 PM
Thank you very much
actually I am building the code step by step (on my own!)and it was working properly for all the previous steps, but now I encounter this problem since few days and I have no...
September 27th, 2010, 01:59 PM
if I understand properly, you mean the location of the exception?
the debugger points to the line of code where the pixels values are assigned to the array of pointers after reading...
September 27th, 2010, 01:47 PM
global_index = 312549
local_index = 141 (which is the index of the Red value of the upper right pixel in the 8*6 rectangle of pixels, the last two values of this window will be 142 for Green and...
September 27th, 2010, 12:19 PM
Thanks to you all for help
the output from debug says:
'OPENGL_BRUNEL.exe': Loaded 'D:\Documents and Settings\Shafik\Desktop\PhD\OPENGL_BRUNEL\Release\OPENGL_BRUNEL.exe', Symbols loaded....
September 27th, 2010, 12:17 AM
Thank you for reply
I wonder how to do that, I used code as a tag but it does not look correct
September 26th, 2010, 11:03 PM
I defined an array pointer to hold a massive amount of data, (actually the RGB data of a screen with 1024*768 pixels). the data is assigned from another temporary array to the this...