473,413 Members | 1,799 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,413 software developers and data experts.

Cannot access memory at address 0x4c6d000

29
Hi All,
I have a problem when I am trying to implement my program, This problem is "Cannot access memory at address 0x4c6d000".
What I did is as follows:
1- Create a pointer to array of classes
2- call a function from one of these class that it returns pointer
Thank you for your help
Sep 25 '07 #1
6 8988
Firecore
114 100+
maybe there is something wrong with your ram or the os is using that memory.
Sep 25 '07 #2
aeo3
29
When I am using a different operating system and different complier the error is stack error
Sep 25 '07 #3
Firecore
114 100+
When I am using a different operating system and different complier the error is stack error
no idea wats happenin. im just a noob in c programming.
Sep 25 '07 #4
sicarie
4,677 Expert Mod 4TB
When I am using a different operating system and different complier the error is stack error
Can you post your main() function?
Sep 25 '07 #5
aeo3
29
It is too complicated structure, But I can summarized as follows
first, I created a pointer to class sys
second, In the constructor of that class I created a pointer to array of another class E
third, In the constructor of each one of two I created three pointers, 1-for an array of class f, 2-is an array of class h and a pointer to a class G
when I am dealing with second, I choose the neighbour for the current E up and down and I sent their addresses in a pointer, and when I am trying to call a f from current E the error message comes, It is to difficult to put code because as I explained it is long code and distributed into 12 files.
Sep 25 '07 #6
sicarie
4,677 Expert Mod 4TB
Well, the error is too complicated to troubleshoot without code, but I am guessing that you try to access something that you haven't initialized, or is out of bounds.
Sep 26 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
24
by: David Mathog | last post by:
If this: int i,sum; int *array; for(sum=0, i=0; i<len; i++){ sum += array; } is converted to this (never mind why for the moment):
12
by: aling | last post by:
Have following code snip: struct struc { int member1; int member2; } ; printf("&((struc*)0)->member2=%p\n", &((struc*)0)->member2); In VC7.1, the output is 4, the offset of member2 in struc.
43
by: ZillionDollarSadist | last post by:
Hello, I'm working at a simple Access '97 + VB4 application, and I ran into a terrible problem: something I never modified now gives me a totally unwanted "Invalid use of null" error. It happens...
33
by: Benjamin M. Stocks | last post by:
Hello all, I've heard differing opinions on this and would like a definitive answer on this once and for all. If I have an array of 4 1-byte values where index 0 is the least signficant byte of a...
3
by: iwdu15 | last post by:
hi, this might b getting a bit too...low level but how can i check to see if a certain memory address holds a charge? -- -iwdu15
2
by: mudge | last post by:
Hi, I'm getting some very strange problems with some C# code. We're running an ASP.NET application on a local server in a DMZ. If I access it using the internal address, the application works...
13
by: kolmogolov | last post by:
/* Hi, I have removed things irrelevant to reproducing the problem. What's wrong with my code? Thanks in advance for any hint! 1166425362 */ #include <stdio.h> #include <stdlib.h> #include...
9
by: volcano | last post by:
Can it be done, and if yes - how?
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
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.