CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Access violation with std::vector

    Quote Originally Posted by s_k
    I posted the main() function already.
    CHull class definition is missing, as well as the CGeomUtils class definition..

    Regards,

    Paul McKenzie
    Last edited by Paul McKenzie; December 7th, 2005 at 06:15 PM.

  2. #17
    Join Date
    Jul 2001
    Location
    Trutnov, Czech Republic
    Posts
    459

    Re: Access violation with std::vector

    Now very, very strange thing happened...I wanted to clean the project so that I would put it on Internet and deleted all unused variables and nothing else..definitely I did not do anything with aPoints. I recompiled, ran and...ok. Ran again, ok. I increased the number of points to 10.000, ok. 50.000, ok. 100.000, ok...

    Probably it will remain a mystery to me what problem was there...
    The sun is the same in the relative way, but you're older
    Shorter of breath and one day closer to death


    - Roger Waters, 1973

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

    Re: Access violation with std::vector

    Quote Originally Posted by s_k
    Now very, very strange thing happened...I wanted to clean the project so that I would put it on Internet and deleted all unused variables and nothing else..definitely I did not do anything with aPoints. I recompiled, ran and...ok. Ran again, ok. I increased the number of points to 10.000, ok. 50.000, ok. 100.000, ok...
    Maybe one of your modules was not up to date, and a "stale" definition of one of your classes was still being used in the executable. It could also be precompiled header bugs.

    Recompiling everything ensured that all modules were up to date.

    Regards,

    Paul McKenzie

  4. #19
    Join Date
    Jul 2001
    Location
    Trutnov, Czech Republic
    Posts
    459

    Re: Access violation with std::vector

    Quote Originally Posted by Paul McKenzie
    Maybe one of your modules was not up to date, and a "stale" definition of one of your classes was still being used in the executable. It could also be precompiled header bugs.

    Recompiling everything ensured that all modules were up to date.

    Regards,

    Paul McKenzie
    Maybe...anyway, thanks a lot for all your effort, Paul, I really appreciate that.
    The sun is the same in the relative way, but you're older
    Shorter of breath and one day closer to death


    - Roger Waters, 1973

Page 2 of 2 FirstFirst 12

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