Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Error running example code of RED BOOK!!

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2001
    Posts
    1

    Error running example code of RED BOOK!!

    When run through this code --
    subdivide(&vdata[tindices[i][0][0],
    &vdata[tindices[i][1][0],
    &vdata[tindices[i][2]][0]);

    i get exception message --
    the value of esp was not properly save across a function call.This is usually a result of calling a function declare with one calling convention with a function pointer delcared with a different calling convention.

    Help~

  2. #2
    Member Regular Contributor
    Join Date
    Apr 2000
    Location
    Redlands, CA, USA
    Posts
    292

    Re: Error running example code of RED BOOK!!

    Originally posted by qlwuu:
    the value of esp was not properly save across a function call.This is usually a result of calling a function declare with one calling convention with a function pointer delcared with a different calling convention.
    Actually, much more often it's a result of a stack corruption - out of range access, incorrect poiter math, etc.

Posting Permissions

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