CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    50

    Application crashes under Windows 7

    I am getting reports of the application that I write sporadically crashing under Windows 7 (more often than similar reports with XP). The program is configured to support memory addresses with the highest bit set to 1 because of the large data sets that are sometimes encountered. Has anyone got any experience of crashes happening (or happening more often) because of W7 features such as address space randomisation and what I should be looking for to fix them?

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Application crashes under Windows 7

    I am getting reports of the application that I write sporadically crashing under Windows 7 (more often than similar reports with XP).
    So your program crashes anyway, only it crashes more under W7 ? In that case, start your debugger and fix your code.

  3. #3
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Application crashes under Windows 7

    Quote Originally Posted by Andrew Hain View Post
    I am getting reports of the application that I write sporadically crashing under Windows 7 (more often than similar reports with XP). The program is configured to support memory addresses with the highest bit set to 1 because of the large data sets that are sometimes encountered. Has anyone got any experience of crashes happening (or happening more often) because of W7 features such as address space randomisation and what I should be looking for to fix them?
    Good Windows programmers do not work this way when they get a crash, i.e. theorizing.

    As Skizmo stated, debug and fix your code. When you actually see a call stack, variables, etc. when a crash happens, then and only then do you start making conclusions as to what has happened.

    Regards,

    Paul McKenzie

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

Featured