this is really weird : my code is working fine using windows2000, and when i test under a win98 platform, i get an error. Can someone tell me if this is normal or what can i do in order to make it work ???
the line causing the error is :
StretchBlt(
dc.m_hDC, // handle to destination DC
xfrom, // x-coord of destination upper-left corner
yfrom, // y-coord of destination upper-left corner
(botx-topx)-1, // width of destination rectangle
(boty-topy)-1, // height of destination rectangle
hdcComp, // handle to source DC
1, // x-coord of source upper-left corner
1, // y-coord of source upper-left corner
(botx-topx), // width of source rectangle
(boty-topy), // height of source rectangle
SRCCOPY // raster operation code
)
all variables are used in other parts of the code, they are all recognized ...
the line causing the error is :
StretchBlt(
dc.m_hDC, // handle to destination DC
xfrom, // x-coord of destination upper-left corner
yfrom, // y-coord of destination upper-left corner
(botx-topx)-1, // width of destination rectangle
(boty-topy)-1, // height of destination rectangle
hdcComp, // handle to source DC
1, // x-coord of source upper-left corner
1, // y-coord of source upper-left corner
(botx-topx), // width of source rectangle
(boty-topy), // height of source rectangle
SRCCOPY // raster operation code
)
all variables are used in other parts of the code, they are all recognized ...