Click here to Skip to main content
15,914,010 members
Home / Discussions / Database
   

Database

 
GeneralRe: Missing OLE Provider. Pin
Kevin Gutteridge27-Jun-02 0:48
Kevin Gutteridge27-Jun-02 0:48 
GeneralUser Selectable databases via ADO Pin
Robert Vista18-Jun-02 5:25
Robert Vista18-Jun-02 5:25 
GeneralRe: User Selectable databases via ADO Pin
Mazdak18-Jun-02 19:25
Mazdak18-Jun-02 19:25 
GeneralRe: User Selectable databases via ADO Pin
Robert Vista19-Jun-02 7:32
Robert Vista19-Jun-02 7:32 
GeneralHelp needed deriving class from CRecordset Pin
Munkijo17-Jun-02 11:55
Munkijo17-Jun-02 11:55 
GeneralADO Over the Internet Pin
laphijia15-Jun-02 2:13
laphijia15-Jun-02 2:13 
GeneralRe: ADO Over the Internet Pin
Thesisus20-Jun-02 2:22
Thesisus20-Jun-02 2:22 
GeneralProblem with Recordset(ADO) Pin
Lizp14-Jun-02 22:15
Lizp14-Jun-02 22:15 
GeneralRe: Problem with Recordset(ADO) Pin
Mazdak16-Jun-02 5:58
Mazdak16-Jun-02 5:58 
GeneralRe: Problem with Recordset(ADO) Pin
Lizp16-Jun-02 15:23
Lizp16-Jun-02 15:23 
GeneralRe: Problem with Recordset(ADO) Pin
Mazdak16-Jun-02 21:00
Mazdak16-Jun-02 21:00 
GeneralObject Role Modeling Pin
gicio13-Jun-02 1:07
gicio13-Jun-02 1:07 
QuestionCan Microsoft beat Apple? Pin
gicio12-Jun-02 5:54
gicio12-Jun-02 5:54 
AnswerRe: Can Microsoft beat Apple? Pin
Matt Gullett12-Jun-02 6:24
Matt Gullett12-Jun-02 6:24 
GeneralRe: Can Microsoft beat Apple? Pin
gicio13-Jun-02 4:18
gicio13-Jun-02 4:18 
GeneralODBC Pin
12-Jun-02 5:50
suss12-Jun-02 5:50 
GeneralADO/MDAC/CDO2000 Memory Leak Pin
[James Pullicino]12-Jun-02 4:51
[James Pullicino]12-Jun-02 4:51 
As posted on MSDN newsgroup:

Hello,

I think that we've stumbled accross a bug in CDO2000 which
causes a massive memory leak. This leaks happens on
Windows 2000 Professional. I failed to reproduce on
Windows 2000 Advanced Server.

Here is the code:

/////
IMessagePtr iMsg ;
iMsg.CreateInstance(__uuidof(Message)) ;

FieldsPtr Flds = iMsg->GetFields() ;
Flds->Item[cdoTo]->Value="james@drinkinginthesun.com";
/////

Is this a known issue? The leak will become obvious if the
above code is thrown into an infite loop. I have tested
this on Windows 2000 Professional with SP2 and Office 2000.

Thanks.

Regards,

James Pullicino


Response from MS:

James,

I see the leak you are reporting. This is apparently a leak in ADO (MDAC),
not CDOSYS. By removing the lines:
FieldsPtr Flds = iMsg->GetFields() ;
Flds->Item[cdoTo]->Value="james@drinkinginthesun.com";

and instead doing:
iMsg->To = "james@drinkingthesun.com";

I eliminated the leak.

Since you can't repro this on your Advanced Server, try comparing the
versions of MDAC on those machines...perhaps that is the difference?

Jason Johnston
Microsoft Developer Support - Messaging


Best Regards,

James Pullicino



Drinking In The Sun
Forgot Password?
GeneralSystem DNS database Pin
Vanting11-Jun-02 3:17
Vanting11-Jun-02 3:17 
GeneralRe: System DNS database Pin
Gethsus13-Jun-02 4:09
Gethsus13-Jun-02 4:09 
GeneralProblem with ODBC in Windows95 Pin
8-Jun-02 22:30
suss8-Jun-02 22:30 
GeneralRe: Problem with ODBC in Windows95 Pin
Mazdak9-Jun-02 3:05
Mazdak9-Jun-02 3:05 
QuestionHow access Indexing Server with ADO.NET Pin
serberwww5-Jun-02 21:00
serberwww5-Jun-02 21:00 
AnswerRe: How access Indexing Server with ADO.NET Pin
Sebastian Weber6-Jun-02 2:53
Sebastian Weber6-Jun-02 2:53 
GeneralDAO and Visual Studio .Net Pin
5-Jun-02 5:49
suss5-Jun-02 5:49 
GeneralATL7 OLEDB Consumer templates & stored procedures Pin
Jörgen Sigvardsson5-Jun-02 2:35
Jörgen Sigvardsson5-Jun-02 2:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.