473,379 Members | 1,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

plzzzzzzzzzz help me !! it's urgent ! run time error:memory couuld not be overwritten

hi all!!

pl help me i m getting a run time error
"memory address .... refer to this location.......
memory could not be written at this location....."

..... means some memory address

when i m trying to run a programme in which i m setting line style
to any color except "0" which is for BLACK
like "16777215" its for WHITE color value and if i will set this color
value then it will give error and i will select "0" then it will work
fine

plz help what may be the error

it's urgent

plz mail on this id ca***************@yahoo.com

thanxs in advance

regards
abhilash agarwal
product engineer
manchitra services pvt. ltd.
new delhi, india
Jul 19 '05 #1
1 2322
> pl help me i m getting a run time error
"memory address .... refer to this location.......
memory could not be written at this location....."

.... means some memory address
You have the code, and apparently you are unable to figure out what the
problem is. How do you suppose the people in this newsgroup are able to
tell what problem is without having access to your code? Post minimal
yet compilable code that exhibits the problem you are having. Then
people here are able and often very willing to help you.

Most likely your problem is related to using an invalid pointer. If the
memory address is 0x0000000 or very close to zero you are probably using
a null pointer. If it is not close to zero than it may be caused by
using an uninitialized pointer or a pointer to an object that already
has been destroyed. Unfortunately you didn't post the exact memory
addresses. People who are familiar with your OS and development
environment may be able to tell you a bit more precisely what is the
problem.
when i m trying to run a programme in which i m setting line style
to any color except "0" which is for BLACK
like "16777215" its for WHITE color value and if i will set this color
value then it will give error and i will select "0" then it will work
fine
Standard C++ does not offer support for colors, line styles and other
graphic stuffc. If you problem is really cause by setting colors and/or
line styles I suggest you ask this question in a newsgroup dedicated to
the OS, GUI library and/or development tool you are using.
plz help what may be the error

it's urgent

plz mail on this id ca***************@yahoo.com


Post here, read here.

To get the most out of this newsgroup, please read this:
http://www.slack.net/~shiva/welcome.txt
http://home.wanadoo.nl/efx/c++-faq/

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Drew | last post by:
Hello, I am having a vb6 executable error problem. Everytime I run my code I get this error message: The instruction at "0x04388dd0" referenced memory at "0x00000000". The memory could not be...
16
by: Ed L. | last post by:
I'm getting a slew of these repeatable errors when running ANALYZE and/or VACUUM ANALYZE (from an autovacuum process) against a 7.3.4 cluster on HP-UX B.11.00: 2004-09-29 18:14:53.621 ERROR:...
1
by: | last post by:
I have a table with about 1,400,000 rows in it. Each DELETE cascades to about 7 tables. When I do a 'DELETE FROM events' I get the following error: ERROR: Memory exhausted in...
13
by: hurry | last post by:
In order to avoid declaring static variables in a function I was asked to write a scratch memory. Reserve a block of memory outside the function and assigning pointers to the memory locations as...
24
by: c language | last post by:
Hello all, I am using 'Valgrind' to fix the memory leaks of my programs. I am looking for other programs to see how they are detecting the problems. Does any of you have experience in working...
12
by: Simon | last post by:
Hi all, I'm having a baffling problem with a windows service that I'm working on. Basically, I am using a typed dataset to insert a large number of rows into an SQL Server 2005 database. But...
3
by: sulekha | last post by:
Hi all, I was reading the book "Write Great Code vol 1" by Ryndall hyde in this book chapter 11 is named as Memory architecture & Organization. in this chapter there is a section named "Run time...
3
by: Aptripathi | last post by:
Am getting the above mentioned error MemoryFault(Coredump)while running an executable compiled with ProC what shud i do? and what can be the cause
4
by: somenath | last post by:
I have a question regarding the memory allocation of array. For example int array; Now according to my understanding 10 subsequent memory location will be allocated of size sizeof(int) *10...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.