Click here to Skip to main content
15,894,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCommand Prompt Display in MFC ,VC++ Pin
ditty grail9-Jun-05 20:38
ditty grail9-Jun-05 20:38 
QuestionHow to control the sort property of a CListCtrl controler? Pin
bghuang9-Jun-05 20:31
bghuang9-Jun-05 20:31 
AnswerRe: How to control the sort property of a CListCtrl controler? Pin
ThatsAlok9-Jun-05 21:04
ThatsAlok9-Jun-05 21:04 
GeneralRe: How to control the sort property of a CListCtrl controler? Pin
Stlan10-Jun-05 0:18
Stlan10-Jun-05 0:18 
GeneralRe: How to control the sort property of a CListCtrl controler? Pin
ThatsAlok10-Jun-05 1:24
ThatsAlok10-Jun-05 1:24 
GeneralThanks Pin
bghuang10-Jun-05 2:44
bghuang10-Jun-05 2:44 
GeneralRe: Thanks Pin
ThatsAlok10-Jun-05 2:55
ThatsAlok10-Jun-05 2:55 
GeneralEmbedded ctrl in web page Pin
khan++9-Jun-05 20:13
khan++9-Jun-05 20:13 
Hi all.
I am embedding media player 6.4 in my MFC ActiveX control.
It can successfully be used in any app.
Problem: (happens in XP only it seems)
When I embed my control in a web page, it works, but when the page is unloaded, or iexplore is closed, the application crashes and says:
Unhandled exception in IEXPLORE.EXE (WMPDXM.DLL): 0xC0000005: Access Violation.
The last code I can get to is:
File: comip.h

void _Release() throw()
{
if (m_pInterface != NULL) {
---> m_pInterface->Release(); <----- Here. line 662
}
}
If I release the IMediaPlayerPtr m_pPlayer; I got using QueryInterface:
IUnknownPtr pUnk;
pUnk = m_Player.GetControlUnknown();
pUnk->QueryInterface(IID_IMediaPlayer,(void**)&m_pPlayer);

like this: m_pPlayer->Release();
myself, then it crashes on this line.
I am using VC6 on xp.
This question belongs to the COM forum, but since it seems dead.
Thanks for your help.

this is this.
GeneralRe: Embedded ctrl in web page Pin
khan++10-Jun-05 2:20
khan++10-Jun-05 2:20 
GeneralIs there a way to keep the mouse from moving... Pin
Ian Bowler9-Jun-05 19:18
Ian Bowler9-Jun-05 19:18 
GeneralRe: Is there a way to keep the mouse from moving... Pin
Daniel Turini9-Jun-05 19:55
Daniel Turini9-Jun-05 19:55 
GeneralRe: Is there a way to keep the mouse from moving... Pin
PJ Arends9-Jun-05 20:11
professionalPJ Arends9-Jun-05 20:11 
GeneralRe: Is there a way to keep the mouse from moving... Pin
Ian Bowler9-Jun-05 21:03
Ian Bowler9-Jun-05 21:03 
GeneralRe: Is there a way to keep the mouse from moving... Pin
Ian Bowler9-Jun-05 22:01
Ian Bowler9-Jun-05 22:01 
GeneralRe: Is there a way to keep the mouse from moving... Pin
ThatsAlok9-Jun-05 21:25
ThatsAlok9-Jun-05 21:25 
GeneralRe: Is there a way to keep the mouse from moving... Pin
Bob Stanneveld9-Jun-05 22:08
Bob Stanneveld9-Jun-05 22:08 
GeneralRe: Is there a way to keep the mouse from moving... Pin
ThatsAlok10-Jun-05 1:22
ThatsAlok10-Jun-05 1:22 
GeneralRe: Is there a way to keep the mouse from moving... Pin
Tim Smith10-Jun-05 3:50
Tim Smith10-Jun-05 3:50 
GeneralRotate the screen Pin
neliocc9-Jun-05 18:48
neliocc9-Jun-05 18:48 
GeneralRe: Rotate the screen Pin
Stlan10-Jun-05 1:23
Stlan10-Jun-05 1:23 
GeneralDisable button close of view Pin
hcmuns9-Jun-05 17:42
susshcmuns9-Jun-05 17:42 
GeneralRe: Disable button close of view Pin
Stlan10-Jun-05 0:14
Stlan10-Jun-05 0:14 
GeneralMyAppView.obj : error LNK2001 Pin
hcmuns9-Jun-05 17:28
susshcmuns9-Jun-05 17:28 
GeneralRe: MyAppView.obj : error LNK2001 Pin
Christian Graus9-Jun-05 17:39
protectorChristian Graus9-Jun-05 17:39 
GeneralRe: MyAppView.obj : error LNK2001 Pin
hcmuns9-Jun-05 17:45
susshcmuns9-Jun-05 17:45 

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.