Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow can i get the client area of edit box Pin
rajneshmalik20-Dec-07 18:51
rajneshmalik20-Dec-07 18:51 
AnswerRe: how can i get the client area of edit box Pin
Don Box20-Dec-07 20:09
Don Box20-Dec-07 20:09 
GeneralRe: how can i get the client area of edit box Pin
rajneshmalik21-Dec-07 0:39
rajneshmalik21-Dec-07 0:39 
GeneralRun time combo box Pin
Y_Kaushik20-Dec-07 17:58
Y_Kaushik20-Dec-07 17:58 
GeneralRe: Run time combo box Pin
Y_Kaushik20-Dec-07 23:37
Y_Kaushik20-Dec-07 23:37 
GeneralRe: Run time combo box Pin
Hamid_RT20-Dec-07 23:58
Hamid_RT20-Dec-07 23:58 
GeneralRe: Run time combo box Pin
Mark Salsbery21-Dec-07 8:42
Mark Salsbery21-Dec-07 8:42 
GeneralDirectShow / DMO Effects Pin
Robert Fiegender20-Dec-07 12:49
sussRobert Fiegender20-Dec-07 12:49 
Dear DirectShow experts,

I have got a DShow based audio application that can use DMO Audio Effects
(e.g. the DirectX built-in ParamEQ) and show their property pages in order
to let the user change the effect settings. The DMOs are handled through the
DMO Wrapper Filter of DShow.
All works fine since years under Win2k and XP, but not so with Vista. Audio
Processing also works as expected there, but if I try to get the Property
Page of an DMO, I get 0x80040154 (Class not registered) as result. What
might be the reason?

Here is the relevant part of the code:

-------
IBaseFilter* pIFilter = pMyFilter;

ISpecifyPropertyPages* lpSPP = NULL;
hRes = pIFilter->QueryInterface(IID_ISpecifyPropertyPages, (void**)&lpSPP);
if(hRes == S_OK)
{ // filter has property page
FILTER_INFO FilterInfo;
hRes = pIFilter->QueryFilterInfo(&FilterInfo);
if(SUCCEEDED(hRes))
{
CAUUID* pCAUUID = (CAUUID*)CoTaskMemAlloc(sizeof(CAUUID));

memset(pCAUUID, 0, sizeof(CAUUID));
hRes = lpSPP->GetPages(pCAUUID);

if(SUCCEEDED(hRes))
{
for (UINT j = 0; j < pCAUUID->cElems; j++)
{ // Create CPropertyPages and Property page sites.
IPropertyPage* pPropPage = NULL;

hRes = CoCreateInstance(pCAUUID->pElems[j], NULL, CLSCTX_INPROC_SERVER,
IID_IPropertyPage, (void **) &pPropPage);
ASSERT(pPropPage);
// with VISTA, this pointer is NULL and hRes == 0x80040154 (Class not registered)
// meanwhile with 2k and XP it works fine
if(pPropPage)
{ // further processing
}
}
}
if(pCAUUID->pElems)
CoTaskMemFree(pCAUUID->pElems);
CoTaskMemFree(pCAUUID);
}
}

lpSPP->Release();
-------

Thank you very much in advance for your advice!

Robert
QuestionHow to access program call arguments? Pin
Anthony Appleyard20-Dec-07 12:10
Anthony Appleyard20-Dec-07 12:10 
AnswerRe: How to access program call arguments? Pin
Steve Echols20-Dec-07 12:22
Steve Echols20-Dec-07 12:22 
GeneralRe: How to access program call arguments? Pin
Anthony Appleyard20-Dec-07 20:31
Anthony Appleyard20-Dec-07 20:31 
AnswerRe: How to access program call arguments? Pin
CPallini20-Dec-07 12:28
mveCPallini20-Dec-07 12:28 
GeneralGetting objects in ROT Pin
Akin Ocal20-Dec-07 12:07
Akin Ocal20-Dec-07 12:07 
GeneralRe: Getting objects in ROT Pin
Stephen Hewitt20-Dec-07 13:55
Stephen Hewitt20-Dec-07 13:55 
Generalifstream slow to close Pin
Budric B.20-Dec-07 11:05
Budric B.20-Dec-07 11:05 
QuestionRuntime error - incompatible iterator - why??? Pin
Philstix20-Dec-07 10:47
Philstix20-Dec-07 10:47 
GeneralRe: Runtime error - incompatible iterator - why??? Pin
Philstix20-Dec-07 10:50
Philstix20-Dec-07 10:50 
GeneralRe: Runtime error - incompatible iterator - why??? Pin
Philstix20-Dec-07 10:53
Philstix20-Dec-07 10:53 
GeneralRe: Runtime error - incompatible iterator - why??? Pin
CPallini20-Dec-07 11:37
mveCPallini20-Dec-07 11:37 
QuestionRe: Runtime error - incompatible iterator - why??? Pin
Philstix20-Dec-07 15:34
Philstix20-Dec-07 15:34 
GeneralRe: Runtime error - incompatible iterator - why??? Pin
Stephen Hewitt20-Dec-07 15:36
Stephen Hewitt20-Dec-07 15:36 
GeneralRe: Runtime error - incompatible iterator - why??? Pin
Philstix20-Dec-07 17:28
Philstix20-Dec-07 17:28 
GeneralClass/struct declarations and bit patterns Pin
Anthony Appleyard20-Dec-07 10:43
Anthony Appleyard20-Dec-07 10:43 
GeneralRe: Class/struct declarations and bit patterns Pin
CPallini20-Dec-07 11:19
mveCPallini20-Dec-07 11:19 
GeneralRe: Class/struct declarations and bit patterns Pin
Anthony Appleyard20-Dec-07 11:56
Anthony Appleyard20-Dec-07 11:56 

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.