View Single Post
  #4  
Old 04-30-2004, 15:56
quasar
 
Posts: n/a
Quote:
Originally Posted by foxzz81
but as u know , what on earth about "more checking code and DebugOut"? i don't understand . windows symbol has a big size. every "sp" has his symbol.
C and C++ both have special macro called 'assert' which is used to check for null pointers, correct parameters etc. also checked builds call special windows api function DebutOutputString specially for debugging. Try to allocate 200 bytes long buffer and write 201 bytes to it then deallocate it. Windows will use DebugOutputString to tell you that buffer is changed past it's size (My Win2k3 does it).
Reply With Quote