怎样捕获rtl60.bpl异常?

dcb0917 2007-03-14 04:38:59
异常如下:Access violation at address 40037E17 in module 'rtl60.bpl'. read of address 00000011
...全文
657 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
FFSB 2007-03-15
  • 打赏
  • 举报
回复
用BCB自带的CodeGuard,检查内存问题还不错!
dcb0917 2007-03-15
  • 打赏
  • 举报
回复
本人做数据采集,这现象随机出现,频率不是太高,可能只有仔细查代码.
dcb0917 2007-03-15
  • 打赏
  • 举报
回复
Imports from rtl60.bpl
__fastcall Types::initialization()
__fastcall Types::Finalization()

Imports from rtl60.bpl
__fastcall Sysconst::initialization()
__fastcall Sysconst::Finalization()

Imports from rtl60.bpl
__fastcall Sysutils::initialization()
__fastcall Sysutils::Finalization()
__fastcall Sysutils::Exception::Exception(const System::AnsiString)
__fastcall Sysutils::ExtractFilePath(const System::AnsiString)
__fastcall Sysutils::IntToStr(int)
Sysutils::Exception::

Imports from rtl60.bpl
__fastcall Varutils::initialization()
__fastcall Varutils::Finalization()

Imports from rtl60.bpl
__fastcall Variants::initialization()
__fastcall Variants::Finalization()

Imports from rtl60.bpl
__fastcall Rtlconsts::initialization()
__fastcall Rtlconsts::Finalization()

Imports from rtl60.bpl
__fastcall Typinfo::initialization()
__fastcall Typinfo::Finalization()
Typinfo::DotSep
Typinfo::BooleanIdents

Imports from rtl60.bpl
__fastcall Activex::initialization()
__fastcall Activex::Finalization()

Imports from rtl60.bpl
__fastcall Classes::initialization()
__fastcall Classes::Finalization()
__fastcall Classes::TDataModule::ReadState(Classes::TReader *)
__fastcall Classes::TDataModule::DefineProperties(Classes::TFiler *)
__fastcall Classes::TDataModule::DoDestroy()
__fastcall Classes::TDataModule::DoCreate()
__fastcall Classes::TDataModule::~TDataModule()
__fastcall Classes::TDataModule::BeforeDestruction()
__fastcall Classes::TDataModule::TDataModule(Classes::TComponent *, int)
__fastcall Classes::TDataModule::AfterConstruction()
__fastcall Classes::TDataModule::TDataModule(Classes::TComponent *)
__stdcall Classes::TComponent::QueryInterface(const _GUID&, void *)
__fastcall Classes::TComponent::UpdateRegistry(System::TMetaClass *, bool, const System::AnsiString, const System::AnsiString)
__fastcall Classes::TComponent::SafeCallException(System::TObject *, void *)
__fastcall Classes::TComponent::SetName(const System::AnsiString)
__fastcall Classes::TComponent::ValidateRename(Classes::TComponent *, const System::AnsiString, const System::AnsiString)
__fastcall Classes::TComponent::WriteState(Classes::TWriter *)
__fastcall Classes::TComponent::Loaded()
__fastcall Classes::TComponent::Notification(Classes::TComponent *, Classes::TOperation)
__fastcall Classes::TComponent::~TComponent()
__fastcall Classes::TThread::WaitFor()
__fastcall Classes::TThread::Terminate()
__fastcall Classes::TThread::Resume()
__fastcall Classes::TThread::Suspend()
__fastcall Classes::TThread::Synchronize(void __fastcall __closure(*)())
__fastcall Classes::TThread::SetPriority(Classes::TThreadPriority)
__fastcall Classes::TThread::DoTerminate()
__fastcall Classes::TThread::AfterConstruction()
__fastcall Classes::TThread::~TThread()
__fastcall Classes::TThread::TThread(bool)
__fastcall Classes::TPersistent::AssignTo(Classes::TPersistent *)
__fastcall Classes::TPersistent::Assign(Classes::TPersistent *)
__fastcall Classes::TPersistent::~TPersistent()
__fastcall Classes::TList::Get(int)
__fastcall Classes::TList::Add(void *)
__fastcall Classes::TList::~TList()
__tpdsc__ Classes::TDataModule
Classes::TDataModule::
__tpdsc__ Classes::TThread
Classes::TThread::
Classes::TList::
dcb0917 2007-03-15
  • 打赏
  • 举报
回复
主要用rtl60.bpl接口如下:
Imports from rtl60.bpl
__fastcall System::initialization()
__fastcall System::Finalization()
__fastcall System::UnregisterModule(System::TLibModule *)
__fastcall System::RegisterModule(System::TLibModule *)
__fastcall System::FindHInstance(void *)
System::__linkproc__ __fastcall VarCast(System::Variant&, const System::Variant&, int)
System::__linkproc__ __fastcall VarClear(System::Variant&)
System::__linkproc__ __fastcall WStrFromLStr(System::WideString&, const System::AnsiString)
System::__linkproc__ __fastcall WStrClr(void *)
System::__linkproc__ __fastcall LStrCat3()
System::__linkproc__ __fastcall LStrCat()
System::__linkproc__ __fastcall LStrFromPChar(System::AnsiString&, char *)
System::__linkproc__ __fastcall LStrAsg(void *, const void *)
System::__linkproc__ __fastcall LStrClr(void *)
System::__linkproc__ __fastcall HandleFinally()
__fastcall System::TObject::Dispatch(void *)
__fastcall System::TObject::BeforeDestruction()
__fastcall System::TObject::DefaultHandler(void *)
__fastcall System::TObject::SafeCallException(System::TObject *, void *)
__fastcall System::TObject::~TObject()
__fastcall System::TObject::TObject()
__fastcall System::TObject::FreeInstance()
__fastcall System::TObject::NewInstance(System::TMetaClass *)
__fastcall System::ParamStr(int)
__fastcall System::IsMemoryManagerSet()
__fastcall System::SetMemoryManager(const System::TMemoryManager&)
System::IsMultiThread
System::IsConsole
System::ExitProc
System::CmdLine
System::IsLibrary
System::MainInstance
dcb0917 2007-03-15
  • 打赏
  • 举报
回复
主要是Win32 API 和 serversocket、clientsocket控件
ljianq 2007-03-15
  • 打赏
  • 举报
回复
会不会是三方控件引起的?
ccrun.com 2007-03-14
  • 打赏
  • 举报
回复
貌似访问了某个对象的属性,而这个对象是NULL(可能尚未分配资源)。
___NULL 2007-03-14
  • 打赏
  • 举报
回复
恐怕是你某个控件异常才导致的,一般是内存溢出或者访问了一个无效指针

604

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder VCL组件使用和开发
社区管理员
  • VCL组件使用和开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧