FIX: ??????? ??????? ??????? ADO ?? ????? ?? ????? ???? ???????

?????? ????????? ?????? ?????????
???? ???????: 283106 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? Visual C++ ?? ????? ???????? ?????? (DLL) ???? ???????? ?????? ?????? ActiveX (ADO) Recordset ?? ????? "? ???? ???? ???? ??????? ???? ???? ??? ??????? ???? ??? ??????? ????? ??? ??????? ?????? ????? ??? ??????.

???? ??? ?? ???? ??????? ADO ??? ???????? ??? ?? ??? RTM 2.6 (2.60.6526).

?????

??? ????? ??????? ?? ?????? Recordset ?????? ???????? ?????? CComAggObject ?? ????? ???? ?????? (ATL). ???? CComAggObject ???? ??? ???????? ??? ??? ?? ??? ???? ?????? ??? Recordset ?? ???? ??????? ?????. ???? Recordset ?? ?????????? ??? ????? ??????? ?????? ? ??? ???? ????? ??????? ???????.

????

MDAC

??? ??? ???????? ??? ?????? ??? ???? ???? ???? ?? Microsoft MDAC 2.5. ?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
293312INFO: ????? ?????? ??? ???? MDAC 2.5 ???? ???????
?? ????? ??? ??????? ?? Microsoft ?????? Access ?????? 2.6 ?????? ????? ?????? Service Pack 1.
?????? ??? ??????? ??????? ???? ??? ??? ??????? ????? ?????? ?? "????? ??????? ?? Microsoft:
300635INFO: ????? ?????? ??? ???? MDAC 2.6 ???? ???????
??? ?? ???? ?????? ?????????? ?? ??? ??????? ???? ??????? ??????? ?? ????:

MDAC 2.5
   Date          Version        Size             File name
   ------------------------------------------------------------
   12/14/2000    2.53.6013.0     20,480 bytes    Msader15.dll	
   12/14/2000    2.53.6013.0    491,792 bytes    Msado15.dll	
   12/14/2000    2.53.6013.0    172,304 bytes    Msadomd.dll	
   12/14/2000    2.53.6013.0     57,616 bytes    Msador15.dll	
   12/14/2000    2.53.6013.0    188,688 bytes    Msadox.dll	
   12/14/2000    2.53.6013.0     57,616 bytes    Msadrh15.dll	   	
   12/14/2000    2.53.6013.0     94,480 bytes    Msjro.dll	
   12/22/2000                   824,744 bytes    Q283106_w2k_sp3_x86_en.exe
				

?????

MDAC

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ????? ??? ???????. ?? ????? ??? ??????? ???? ??? ?? Microsoft MDAC 2.5 ?????? ????? ?????? Service Pack 3.?? ????? ??? ??????? ???? ??? ?? Microsoft ?????? Access ?????? 2.6 ?????? ????? ?????? Service Pack 1.

???? ??????? Windows 2000

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ????? ??? ???????.

??????? ????

??? ?????? ??? ?????? ????? ??? ????? ??? ????? ??????? ?? Visual C++ ? ?????? ?????? ???? ?????? Recordset ?? ??????? ?? ???. ?? ???? ??? ??????? ?? ??????? Microsoft Visual Basic ???? ??????? ??? ????? ?? Visual Basic.

???? ????? ??????? MDAC 2.5 ?? ??? ??????? ?????? ??? ?? 2.5 RTM (2.50.4403) ? 2.5 SP1 (2.50.5303).

????? ????? ????? ??????

  1. ?? ???? ???????? ???????? ??????? ??? ????? ???? ???? ???? Visual C++ ? ? ?? ????? ????????? ????????.
    #include "objbase.h"
    #import "c:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename( "EOF", "adoEOF" )
    
    struct InitOle {
      InitOle()  { ::CoInitialize(NULL); }
      ~InitOle() { ::CoUninitialize();   }
    } _init_InitOle_; 
    
    
    
    class MyClass : public IUnknown
    {
    public:
    	MyClass()
    	{
    		m_refCount = 0;
    	}
    
    	STDMETHODIMP_(ULONG) AddRef()
      {
    		m_refCount++;
    		return m_refCount;
      }
    
    	STDMETHODIMP_(ULONG) Release()
    	{
    		m_refCount--;
    		return m_refCount;
      }
    
    	STDMETHODIMP QueryInterface(REFIID riid, void **ppv)
    	{
    		if (riid == IID_IUnknown) {
    			*ppv = static_cast<IUnknown *> (this);
    			AddRef();
    			return S_OK;
    		}
    
    		return E_NOINTERFACE;
    	}
    
    private:
    	ULONG m_refCount;	
    };
    
    
    int main(int argc, char* argv[])
      {
    	MyClass cls;
    	HRESULT hr;
    	IUnknown *pUnkInner;
    
    	CoInitialize(NULL);
    	cls.AddRef();
    
    	for (int i=0; i<10000; i++)
    	{
    		//while (true) {
    		pUnkInner = NULL;
    		hr = CoCreateInstance(__uuidof(Recordset), &cls, CLSCTX_INPROC_SERVER, IID_IUnknown,
    			(void **) &pUnkInner);
    		pUnkInner->Release();
    	}
    	return 0;
    }
    					
  2. ??? ????? ?????? ?????? "? ?? ??? ???? ????? ?????? ?????? ????? ?????? ???????. ???? ?? ???? ????? ????? ??????? ??????? ???? ??? ????? ?????.

???????

???? ???????: 283106 - ????? ??? ??????: 28/???? ??????/1435 - ??????: 3.2
????? ???
  • Microsoft ActiveX Data Objects 2.0
  • Microsoft ActiveX Data Objects 2.1
  • Microsoft ActiveX Data Objects 2.5
  • Microsoft ActiveX Data Objects 2.6
  • Microsoft Data Access Components 2.0
  • Microsoft Data Access Components 2.1
  • Microsoft Data Access Components 2.5
  • Microsoft Data Access Components 2.6
  • Microsoft Visual C++ 6.0 Enterprise Edition
  • Microsoft Visual C++ 6.0 Professional Edition
  • Microsoft Visual C++, 32-bit Learning Edition 6.0
????? ??????: 
kbnosurvey kbarchive kbmt kbhotfixserver kbqfe kbmdac250sp3fix kbbug kbfix kbmdac260sp1fix KB283106 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????283106

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com