Inherited Create raises an exception/access violation ? huh ?



Hello,

I was just stepping through the program and I noticed how this line
causes an access violation which I find pretty strange ?

Maybe my memory is playing tricks on me... but I thought it was normal
and safe to write code like this... even if Ttest has no
predecessor/ancestor. Or could it be a new delphi feature or bug ? ;)

constructor Ttest.Create;
begin
inherited Create; // why does this cause an access violation ? very strange !

What you guys and girls make of this ? :)

Bye,
Skybuck.

.



Relevant Pages

  • Re: error wince600 boot message after dowload PB6 OS to HW board
    ... I would suspect that you have a memory layout problem, either the bootloader is using memory that is clobbering the downloaded image in some way, or the memory layout in the config.bib is wrong. ... Old or invalid version stamp in kernel structures - starting clean! ... Exception 'Access Violation': Thread-Id=00410002, ...
    (microsoft.public.windowsce.platbuilder)
  • Odd, odd problem
    ... Ok, XPSP2 here, Athlon2400, 1GB memory, all the hardware checks out. ... what's going on and I can't see anything strange. ... If I attempt to launch an ...
    (microsoft.public.windowsxp.general)
  • Re: Strange Error
    ... "Attempted to read or write protected memory. ... An access violation occurs in unmanaged or unsafe code ... While the database it self might not be the problem, the ODBC driver you are using certainly is and it certainly will contain some unmanaged code. ... The system has called a custom component and that component has failed and generated an exception. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Wee flash...
    ... Really strange being me at the moment :-) The pot belly is in the ... On the downside my memory ... My cough was gone within 3 days of my quit. ... vanish. ...
    (alt.support.stop-smoking)
  • Re: Copying std::map with assignment
    ... >I don't think MSVC would do this though. ... >the location is outside of the application's memory space. ... >hence no memory error until that map was deleted or copied. ... immediately access violation, ...
    (alt.comp.lang.learn.c-cpp)