Hi Noorez,
Usually that comes from using a null pointer. Address 0 is mostly verboten. An access violation during execution will probably cause the kernel error. Possibly currentFileName isn't initialized? Or possibly the pointer is dangling?
Noorez Kassam <lor...@ho...> wrote:
What does this error message mean? 'An Access Violation (Segmentation
Fault) Raised in you program'. The debugger sometimes throws the error when
I try to access a text file, eg. openTextFile.open(currentFileName).
I also get this error when I'm executing normally:
'Sml has caused an error in KERNEL32.DLL.
Sml will now close.
If you continue to experience problems,
try restarting your computer.'
I think that the problem is occurring in the same place.
<snip>
Alfred P. Reaud
|