Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C++ Libraries / February 2004

Tip: Looking for answers? Try searching our database.

"...instruction at xxxxx referenced by xxxxx could be written.... "

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Haitao - 05 Feb 2004 23:16 GMT
I encountered a problem in my C program. When the code runs for a short time, there is no error at all. But when it runs for 1 or 2 hours, it terminates with the message: "...instruction at xxxxx referenced by xxxxx could be written....

Anybody can give me some idea of what kind of problem it is and how should I deal with it? Thanks a lot

Regards
Pete Hodgson - 06 Feb 2004 11:30 GMT
> I encountered a problem in my C program. When the code runs for a short time, there is no error at all. But when it runs for 1 or 2 hours, it terminates with the message: "...instruction at xxxxx referenced by xxxxx could be written.... "
>
> Anybody can give me some idea of what kind of problem it is and how should I deal with it? Thanks a lot!
>
> Regards

Hi Haitao,

Without more information it's pretty hard to see what's going on. One
possibility is you have a memory leak or buffer under/overflow which
isn't apparent at first, but eventually starts corrupting memory used by
your program, resulting in the errors you mentioned. You might want to
try some kind of memory profiling when testing your program to see
whether it is indeed leaking or under/overflowing.

Cheers

Pete

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.