Difference in 4.2 and 5.0? 
Author Message
 Difference in 4.2 and 5.0?

Hi,

I have been using VC++4.2 to optimize Assembly code and have now shifted
to VC++5.0. Some of my projects have stopped working after I made the
change. On stepping through I found that for some sub-routines the Stack
pointer was offset by 4 bytes almost as if something else was pushed on
to the stack during the subroutine call. In another instance at exactly
the same instance of execution the values in the registers were
completely different in the 4.2 and 5.0 de{*filter*} windows which startled
me(I was running them on different computers). I would appreciate any
help which points out to where I am going wrong.

Thanks in Advance
Raghuram
RA. Utah State University.



Tue, 09 Nov 1999 03:00:00 GMT  
 Difference in 4.2 and 5.0?

We've seen a similar problem when optimize for speed is turned on in the
tree control or in places where we have member functions that take
different paramater lists. If we set optimizations to size instead of speed
then things are OK, but optimize for speed seems to break for us. Is this
similar to what you're seeing?


Quote:
> Hi,

> I have been using VC++4.2 to optimize Assembly code and have now shifted
> to VC++5.0. Some of my projects have stopped working after I made the
> change. On stepping through I found that for some sub-routines the Stack
> pointer was offset by 4 bytes almost as if something else was pushed on
> to the stack during the subroutine call.



Sat, 13 Nov 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. differences between 5.0 and 4.2 w/ def files?

2. Difference between 4.0 and 4.2

3. Changes between MSVC 4.2 and 5.0

4. Problem with upgrading from VC 4.2 to 5.0

5. Watching static variables doesnt work in MSVC 4.2 but does in 5.0

6. Using NuMega BoundsChecker 4.2 with Visual C++ 5.0

7. Problems debugging MFC under VC 4.2 with separate VC 5.0 installation present

8. Using NuMega BoundsChecker 4.2 with Visual C++ 5.0

9. Visual C++ 5.0 -vs- 4.2

10. VC++ 4.2 and VC++ 5.0 DLL

11. Using HTML help with VC 5.0 and MFC 4.2

12. VC 4.2 and 5.0 LIB incompatibility

 

 
Powered by phpBB® Forum Software