有难度,
关注,
这样的话,就是能够知道ado的连接过程的细节了,
    可是,好象不太可能啊

解决方案 »

  1.   

    查一下Adoconnection的申請單元,或許能找到點什麼?
      

  2.   

    你把ADOConnection写成一个线程,当你要STOP的时候,你终止这个线程不就行了?
      

  3.   

    on login事件试过吗?
    TCustomConnection.OnLoginOccurs when a communication channel opens to the server.type TLoginEvent = procedure(Sender:TObject; Username, Password: string) of object;
    property OnLogin: TLoginEvent;DescriptionOnLogin occurs when connections are opened if the LoginPrompt property is True.