Click here to Skip to main content
15,905,874 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ Pin
Phil Martin2-Nov-03 12:22
professionalPhil Martin2-Nov-03 12:22 
GeneralRe: C++ Pin
slgeorge52-Nov-03 12:32
slgeorge52-Nov-03 12:32 
GeneralRe: C++ Pin
Christian Graus2-Nov-03 12:47
protectorChristian Graus2-Nov-03 12:47 
GeneralA splitter window without a divider Pin
DimkaSPB2-Nov-03 6:52
DimkaSPB2-Nov-03 6:52 
GeneralRe: A splitter window without a divider Pin
alex.barylski2-Nov-03 8:21
alex.barylski2-Nov-03 8:21 
QuestionHow to Messages from a new window Pin
ERKs2-Nov-03 6:01
ERKs2-Nov-03 6:01 
GeneralUsing Property Sheet within a PropertySheet Pin
Aamir Butt2-Nov-03 5:25
Aamir Butt2-Nov-03 5:25 
GeneralRe: Using Property Sheet within a PropertySheet Pin
Markyg2-Nov-03 15:13
Markyg2-Nov-03 15:13 
GeneralRe: Using Property Sheet within a PropertySheet Pin
Aamir Butt4-Nov-03 20:12
Aamir Butt4-Nov-03 20:12 
GeneralHello, embarrassing question about header files... Pin
Snyp2-Nov-03 4:18
Snyp2-Nov-03 4:18 
GeneralRe: Hello, embarrassing question about header files... Pin
Terry O'Nolley2-Nov-03 4:31
Terry O'Nolley2-Nov-03 4:31 
GeneralRe: Hello, embarrassing question about header files... Pin
Snyp2-Nov-03 4:45
Snyp2-Nov-03 4:45 
GeneralRe: Hello, embarrassing question about header files... Pin
Nick Parker2-Nov-03 5:11
protectorNick Parker2-Nov-03 5:11 
GeneralRe: Hello, embarrassing question about header files... Pin
Snyp2-Nov-03 5:17
Snyp2-Nov-03 5:17 
QuestionProxy DLL - Redirecting by standard? Pin
Dominik Reichl2-Nov-03 1:29
Dominik Reichl2-Nov-03 1:29 
AnswerRe: Proxy DLL - Redirecting by standard? Pin
Alexander M.,2-Nov-03 7:20
Alexander M.,2-Nov-03 7:20 
GeneralRe: Proxy DLL - Redirecting by standard? Pin
Dominik Reichl2-Nov-03 7:28
Dominik Reichl2-Nov-03 7:28 
QuestionWMF's IWMReader memory leak? Pin
Philip Patrick1-Nov-03 23:26
professionalPhilip Patrick1-Nov-03 23:26 
Anyone experienced any problems (memory leaks in my case) with Windows Media Format SDK? I'm using it to retrieve content from network and write to local disk, but looks like it has a memory leak. This is the code I use:
C
IWMReader* pReader = NULL;
m_hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);

HRESULT hr = WMCreateReader(NULL, WMT_RIGHT_PLAYBACK, &pReader);
pReader->Open(L"some_url_here", this, NULL);

WaitForSingleObject(m_hEvent, 60000);

pReader->Close();
pReader->Release();
CloseHandle(m_hEvent);


Both callback functions (OnStatus and OnSample) are empty, just returning S_OK. You see, I'm not starting it, only opening. After I call Open function, memory jumps for about 2.5Mb. When I call Close and Release it goes down around 1.Mb, leaving 1.5Mb in "air". Anyone knows about this?

Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
AnswerRe: WMF's IWMReader memory leak? Pin
Michael Dunn2-Nov-03 7:43
sitebuilderMichael Dunn2-Nov-03 7:43 
GeneralRe: WMF's IWMReader memory leak? Pin
Philip Patrick2-Nov-03 11:15
professionalPhilip Patrick2-Nov-03 11:15 
GeneralRe: WMF's IWMReader memory leak? Pin
Michael Dunn2-Nov-03 13:29
sitebuilderMichael Dunn2-Nov-03 13:29 
GeneralRe: WMF's IWMReader memory leak? Pin
Philip Patrick2-Nov-03 21:19
professionalPhilip Patrick2-Nov-03 21:19 
GeneralCrecordset with join tables Pin
merav1-Nov-03 22:25
merav1-Nov-03 22:25 
GeneralRe: Crecordset with join tables Pin
Mike Danberg2-Nov-03 9:50
Mike Danberg2-Nov-03 9:50 
GeneralSimple Full Screen application Pin
ahmetaa1-Nov-03 17:46
ahmetaa1-Nov-03 17:46 

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.