I am trying to get the value returned from getpixel and mov it into a text buffer, how would I move a value like (00AA80FFh) into the buffer, I want to move the value as it is (AA80FF) how can I do this?
well, i think what you are meaning, you get the value returned from GetPixel in the eax register. You cannot set this directly as a text string, as it is in a binary format. To convert you can call the funcion in the MASM32.LIB file, dw2hex. It is described in the masmlib.hlp file.
worked great thanks :)