Results 1 to 2 of 2

Thread: VC++ bug related to New keyword

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046

    VC++ bug related to New keyword

    I have a dll that has strange errors when compiled in VC6 after it has been called many times. There is no runtime or compile error, rather numerical errors in the calculations. If I compile the same dll in Visual Studio 2005 it works perfectly.

    Someone guessed that it might be due to a known bug with the New keyword in VC6 related to memory allocation ... that has been known to manifest itself in code failing without error similar to what Im seeing.

    Ive searched the internet and cannot find a reference to any such behavior.

    1) can anyone point me to a reference discussing the aforementioned behavior?
    3) will a VC6 compiled dll run faster than a VC2005 compiled dll or about the same?

    Thanks in advance for any insights.

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: VC++ bug related to New keyword

    I don't remember the new keyword being the issue.. but I do remember a few issues which were apparently rectified with the Microsoft Visual C++ 6.0 Processor Pack. It apparently addresses various issues on Intel and AMD processors.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width