Bijal Mandviya wrote:
> i am trying alot on this but not able to do this.
> while running my delphi3 project  under delphi5
> enviroment,first i am getting an run-time error as: "
> Project Greenproj.exe raised exception class
> EAccessViolation with message 'access  violation at
> address C08B0117. Read of address C08B0117'.Process
> stopped. Use step or run to continue"

A combination of addresses like that often indicates a corrupt stack.
However, based on your further comments, it's more likely an uninitialized
variable. Have you been ignoring compiler warnings?

> This error occurs at line when i m trying to invoke a
> function.
> in that function, there is used Class1.Create(self);
> this Class1 is declared somewhere else as :
> Class1 : Class of TEditor;
> TEditor : Class(Tcomponent);

It's much more helpful if you copy and paste your *real* code, instead of
trying to remember what your code is and then typing it incorrectly into
your e-mail program.

I think Class1 is a valid variable declaration, but TEditor is not. Even
though Class1 is valid, it's probably not what you meant to write.

> and while looking inside this class, there is no where
> written Constructor Create(.........
> Is it b'coz of this missing Create(), i m getting
> access violation?

If a method really doesn't exist, then your program will not compile at
all. Remember that a class *inherits* all the functionality of its
ancerstor class, so methods declared in the base class are available to
all descendant classes, too.

> or is this b'coz of Class-reference that is not
> getting it's refernce properly?

Why are you working with class references at all?

The probably probably is with the class reference not having a valid
value. The obvious thing to check, then, is where the variable gets
assigned a value.

> please help me. i m very confussed and not even in
> position to move ahead.
> what should i do?
> is there any alternative to this?

We can't suggest alternatives unless you describe what it is you're trying
to do and how you're trying to accomplish it.

-- 
Rob




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to