Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

diff between win200 & win98 on the stretchbitblt function ??

Status
Not open for further replies.

iza

Programmer
Apr 4, 2000
1,804
FR
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 ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top