Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. run time error

run time error

Scheduled Pinned Locked Moved Database
data-structuresdebugginghelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    williamchou
    wrote on last edited by
    #1

    hi, the message in debug show "Run-Time Check Failure #2 - Stack around the variable 'ls_BureauID' was corrupted!" what's the meaning? thanks!

    N M 2 Replies Last reply
    0
    • W williamchou

      hi, the message in debug show "Run-Time Check Failure #2 - Stack around the variable 'ls_BureauID' was corrupted!" what's the meaning? thanks!

      N Offline
      N Offline
      Nino_1
      wrote on last edited by
      #2

      Is this field ref'd by a constraint ? This could be part of the issue. Tony

      W 1 Reply Last reply
      0
      • N Nino_1

        Is this field ref'd by a constraint ? This could be part of the issue. Tony

        W Offline
        W Offline
        williamchou
        wrote on last edited by
        #3

        the field is defined as char ls_BureauID[4],now this problem has been resolved by enlarging it's length,but i want to know some more run time knowledge,for when and why this prompt come out? thanks!

        1 Reply Last reply
        0
        • W williamchou

          hi, the message in debug show "Run-Time Check Failure #2 - Stack around the variable 'ls_BureauID' was corrupted!" what's the meaning? thanks!

          M Offline
          M Offline
          Mike Dimmick
          wrote on last edited by
          #4

          Sounds more like a C++ issue than a SQL, ADO or ADO.NET issue, unless SQL Server itself is giving this error. Your C++ code is probably overrunning a stack-based buffer. Stability. What an interesting concept. -- Chris Maunder

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups