Click here to Skip to main content
15,890,845 members
Home / Discussions / Database
   

Database

 
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 
GeneralSearching in a date range with sql Pin
Tim Rymer4-Jun-02 9:14
Tim Rymer4-Jun-02 9:14 
GeneralRe: Searching in a date range with sql Pin
Ed Gadziemski4-Jun-02 13:43
professionalEd Gadziemski4-Jun-02 13:43 
GeneralRe: Searching in a date range with sql Pin
Paul Watson20-Jun-02 2:25
sitebuilderPaul Watson20-Jun-02 2:25 
QuestionIs there a way to get the names of the keys that each table has in ADO? Pin
Bart-Man3-Jun-02 11:22
Bart-Man3-Jun-02 11:22 
AnswerSolution to my problem Pin
Bart-Man4-Jun-02 4:22
Bart-Man4-Jun-02 4:22 
QuestionHow do I get a list of available tables using ADO? Pin
Bart-Man3-Jun-02 8:22
Bart-Man3-Jun-02 8:22 
AnswerRe: How do I get a list of available tables using ADO? Pin
Mazdak3-Jun-02 8:53
Mazdak3-Jun-02 8:53 
GeneralRe: How do I get a list of available tables using ADO? Pin
Bart-Man3-Jun-02 9:39
Bart-Man3-Jun-02 9:39 
AnswerRe: How do I get a list of available tables using ADO? Pin
Wictor Wilén16-Jun-02 21:19
Wictor Wilén16-Jun-02 21:19 

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.