Click here to Skip to main content
15,887,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetModuleFileName returning blank! Pin
jhwurmbach22-Oct-03 4:16
jhwurmbach22-Oct-03 4:16 
Generalthanks., got it! Pin
ns22-Oct-03 4:37
ns22-Oct-03 4:37 
GeneralRe: GetModuleFileName returning blank! Pin
Moonspellwizard22-Oct-03 21:09
Moonspellwizard22-Oct-03 21:09 
GeneralApplication to control another Windows App Pin
Member 18130722-Oct-03 2:36
Member 18130722-Oct-03 2:36 
GeneralRe: Application to control another Windows App Pin
includeh1022-Oct-03 4:31
includeh1022-Oct-03 4:31 
GeneralRe: Application to control another Windows App Pin
Member 18130723-Oct-03 2:32
Member 18130723-Oct-03 2:32 
GeneralError deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 2:05
Atif Mushtaq22-Oct-03 2:05 
GeneralRe: Error deleteing BYTE array Pin
Ryan_Roberts22-Oct-03 2:26
Ryan_Roberts22-Oct-03 2:26 
Could be a few things, the most likely is that you are writing past the end of one of your buffers at some point(probably by very few bytes,most likely one). You should:


  • Check your code thoroughly where you write to the heap(allocated by new or malloc)
  • Use memory checksumming to home in on the error, there is a CP article on this
  • Evaluate a memory leak/overrun detection tool, such as boundschecker - lots of peeps can't live without them. Especialy if they do maintainence programming


5000 bytes is small enough to go on the stack really, and your program will fail in a much more entertaining way if that buffer is the culprit. Smile | :)

Ryan
GeneralRe: Error deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 3:14
Atif Mushtaq22-Oct-03 3:14 
GeneralRe: Error deleteing BYTE array Pin
David Crow22-Oct-03 2:51
David Crow22-Oct-03 2:51 
GeneralRe: Error deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 3:12
Atif Mushtaq22-Oct-03 3:12 
GeneralRe: Error deleteing BYTE array Pin
David Crow22-Oct-03 3:18
David Crow22-Oct-03 3:18 
GeneralRe: Error deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 20:07
Atif Mushtaq22-Oct-03 20:07 
GeneralRe: Error deleteing BYTE array Pin
jhwurmbach22-Oct-03 21:23
jhwurmbach22-Oct-03 21:23 
GeneralRe: Error deleteing BYTE array Pin
David Crow23-Oct-03 2:31
David Crow23-Oct-03 2:31 
GeneralRe: Error deleteing BYTE array Pin
Atif Mushtaq26-Oct-03 18:35
Atif Mushtaq26-Oct-03 18:35 
GeneralRe: Error deleteing BYTE array Pin
David Crow27-Oct-03 5:03
David Crow27-Oct-03 5:03 
GeneralVisual C++ Project Model error reporting Pin
AdrianH22-Oct-03 0:41
AdrianH22-Oct-03 0:41 
QuestionHow to import recourses from other projects? Pin
d00_ape21-Oct-03 23:39
sussd00_ape21-Oct-03 23:39 
AnswerRe: How to import recourses from other projects? Pin
David Crow22-Oct-03 2:42
David Crow22-Oct-03 2:42 
GeneralRe: How to import recourses from other projects? Pin
d00_ape22-Oct-03 10:27
sussd00_ape22-Oct-03 10:27 
Generalsqaur root Pin
Aqeel Asghar21-Oct-03 21:25
Aqeel Asghar21-Oct-03 21:25 
GeneralRe: sqaur root Pin
Iain Clarke, Warrior Programmer21-Oct-03 23:02
Iain Clarke, Warrior Programmer21-Oct-03 23:02 
GeneralRe: square root Pin
David Crow22-Oct-03 2:39
David Crow22-Oct-03 2:39 
GeneralRe: sqaur root Pin
QuiJohn22-Oct-03 2:47
QuiJohn22-Oct-03 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.