hi , i in c++ code RGBTRIPLE pixels[360]; how i can code in .DATA section ? Thanks JC excuse me bad english Argentina
Posted on 2001-07-03 23:15:00 by JC
RGBTRIPLE is defined in WINDOWS.INC, which is provided in the MASM32 pack. It is defined as three bytes (as follows):

  rgbtBlue      BYTE      ?
  rgbtGreen     BYTE      ?
  rgbtRed       BYTE      ?
In order to declare an array of them in your code you need the following:

include \masm32\include\windows.inc

pixels RGBTRIPLE 360 dup (<>)
That should then define an array of 360 RGBTRIPLE. Mirno
Posted on 2001-07-04 04:27:00 by Mirno