EDN Admin
Well-known member
<span style="font-size:x-small <span style="font-family:Verdana; font-size:9pt We have one MFC application which is working fine on windows server 2008 R2 (64-bit) and window 7 (32-bit). But it is behaving strangely on window 7 (64-bit) machine.
<span style="font-size:x-small <span style="font-family:Verdana; font-size:9pt After debugging the applicaiton i came to know that the function call to GetScrollPosition() giving the<span style="font-size:small <span style="font-family:Verdana; font-size:10pt
return values of CPoint(x,y) as garbage, by which starting row and column number for the application are set as indefinite values and it is not able to call Draw3DCellStep() to draw cells.<span style="font-size:x-small <span style="font-family:Verdana; font-size:9pt
<span style="font-size:small <span style="font-family:Verdana; font-size:10pt Does anybody have clue why <span style="font-size:x-small <span style="font-family:Verdana; font-size:9pt GetScrollPosition<span style="font-size:small <span style="font-family:Verdana; font-size:10pt ()
function is returning garbage or inappropriate values? But the same application is working fine on win 2003 R2 (64-bit) and win 7 (32-bit). <span style="font-size:small <span style="font-family:Arial; font-size:10pt
<span style="font-size:small <span style="font-family:Arial; font-size:10pt Note: It is developed in visual studio 2008 professional edition.
<span style="font-size:small <span style="font-family:Arial; font-size:10pt Thanks,
<span style="font-size:small <span style="font-family:Arial; font-size:10pt venkat
View the full article
<span style="font-size:x-small <span style="font-family:Verdana; font-size:9pt After debugging the applicaiton i came to know that the function call to GetScrollPosition() giving the<span style="font-size:small <span style="font-family:Verdana; font-size:10pt
return values of CPoint(x,y) as garbage, by which starting row and column number for the application are set as indefinite values and it is not able to call Draw3DCellStep() to draw cells.<span style="font-size:x-small <span style="font-family:Verdana; font-size:9pt
<span style="font-size:small <span style="font-family:Verdana; font-size:10pt Does anybody have clue why <span style="font-size:x-small <span style="font-family:Verdana; font-size:9pt GetScrollPosition<span style="font-size:small <span style="font-family:Verdana; font-size:10pt ()
function is returning garbage or inappropriate values? But the same application is working fine on win 2003 R2 (64-bit) and win 7 (32-bit). <span style="font-size:small <span style="font-family:Arial; font-size:10pt
<span style="font-size:small <span style="font-family:Arial; font-size:10pt Note: It is developed in visual studio 2008 professional edition.
<span style="font-size:small <span style="font-family:Arial; font-size:10pt Thanks,
<span style="font-size:small <span style="font-family:Arial; font-size:10pt venkat
View the full article