class unable to write the memory
- From: Peppe <bacia@xxxxxxx>
- Date: Wed, 21 Jun 2006 19:31:47 +0200
Hi
I've got a class like this
class MyClass{
....
somemethods
....
protected:
int a;
}
MyClass::MyClass(){
a = 1;
}
I call the class constructor in the Doc constructor, like I always do, but this time the constructor is unable to modify the memory
With the step by step debug I see the 'a' var set to random value as usual, when the compiler runs the 'a=1;' instruciont, the a variable mantains its random value.
How is this possible?
.
- Follow-Ups:
- Re: class unable to write the memory
- From: Dan Baker
- Re: class unable to write the memory
- From: Tom Serface
- Re: class unable to write the memory
- From: Ajay Kalra
- Re: class unable to write the memory
- Prev by Date: stop Thread problem
- Next by Date: Re: stop Thread problem
- Previous by thread: stop Thread problem
- Next by thread: Re: class unable to write the memory
- Index(es):
Relevant Pages
|
Loading