Q&A

  • acess violation 에러랍니다. 큰일이네여.
program.exe faulted with message : 'access violation at 0x0012f4a1 :write of address 0x00000000'.

process stopped. Use Step or Run to Continue.

에러 내용은 이렇습니다.



function 어쩌구:boolean;

begin

try

qry.open;

except

qry.close;

result := false;

exit;<--------------이부분에서 에러가 납니다.

end;



end;

부탁입니다. 에러가 왜 나야했는지 답변부탁드립니다.

1  COMMENTS
  • Profile
    델파이사랑 2001.09.14 19:26
    초델 wrote:

    > program.exe faulted with message : 'access violation at 0x0012f4a1 :write of address 0x00000000'.

    > process stopped. Use Step or Run to Continue.

    > 에러 내용은 이렇습니다.

    >

    > function 어쩌구:boolean;

    > begin

    > try

    > qry.open;

    > except

    > qry.close;

    > result := false;

    > exit;<--------------이부분에서 에러가 납니다.

    > end;

    >

    > end;

    > 부탁입니다. 에러가 왜 나야했는지 답변부탁드립니다.

    =================================================

    요렇게 해보세요...

    될것 같은데...

    Try

    qry.open;

    except

    qry.close;

    result := false;

    raise; <---------------이것으로 대체...

    end;

    ==================================================

    그럼 즐코....