Click here to Skip to main content
15,915,873 members
Home / Discussions / COM
   

COM

 
AnswerRe: Problem occour when registering dll on win xp Pin
prasad_som17-May-07 2:04
prasad_som17-May-07 2:04 
Questionserver didnot register with DCom within the required timeout Pin
fulbright16-May-07 18:28
fulbright16-May-07 18:28 
QuestionUpdating Gridview properties by code Pin
aitch4216-May-07 9:35
aitch4216-May-07 9:35 
Questionfolder browser activex control and file/ folder list in tree format Pin
ravi kanthi16-May-07 3:50
ravi kanthi16-May-07 3:50 
AnswerRe: folder browser activex control and file/ folder list in tree format Pin
Dave Kreskowiak16-May-07 4:54
mveDave Kreskowiak16-May-07 4:54 
GeneralRe: folder browser activex control and file/ folder list in tree format Pin
leckey16-May-07 6:20
leckey16-May-07 6:20 
QuestionAdding Filter by Class ID Pin
Raja Bose C Leo15-May-07 21:29
Raja Bose C Leo15-May-07 21:29 
AnswerRe: Adding Filter by Class ID Pin
rjkg18-May-07 19:07
rjkg18-May-07 19:07 
write the following code


IGraphBuilder* g_pGraphBuilder;
IBaseFilter *MyFilter;
HRESULT hr
hr=AddFilterByCLSID(g_pGraphBuilder,CLSID_VideoRenderer,NULL,&VideoRendrer);

where the function is
HRESULT AddFilterByCLSID(
IGraphBuilder *pGraph, // Pointer to the Filter Graph Manager.
const GUID& clsid, // CLSID of the filter to create.
LPCWSTR wszName, // A name for the filter.
IBaseFilter **ppF) // Receives a pointer to the filter.
{
if (!pGraph || ! ppF) return E_POINTER;
*ppF = 0;
IBaseFilter *pF = 0;
HRESULT hr = CoCreateInstance(clsid, 0, CLSCTX_INPROC_SERVER,
IID_IBaseFilter, reinterpret_cast<void**>(&pF));
if (SUCCEEDED(hr))
{
hr = pGraph->AddFilter(pF, wszName);
if (SUCCEEDED(hr))
*ppF = pF;
else
pF->Release();
}
return hr;
}



RajeshGupta

QuestionRe: Adding Filter by Class ID Pin
Raja Bose C Leo18-May-07 22:04
Raja Bose C Leo18-May-07 22:04 
AnswerRe: Adding Filter by Class ID Pin
rjkg22-May-07 20:10
rjkg22-May-07 20:10 
GeneralGetting an ActiveX control to install (newbie question) Pin
Judah Gabriel Himango15-May-07 18:24
sponsorJudah Gabriel Himango15-May-07 18:24 
QuestionHow to properly initialise a COM/ActiveX component in C#? Pin
orinoco7715-May-07 6:12
orinoco7715-May-07 6:12 
QuestionNeed help to understand STA and MTA in COM Pin
Nandu_77b15-May-07 1:53
Nandu_77b15-May-07 1:53 
AnswerRe: Need help to understand STA and MTA in COM Pin
User 21559715-May-07 2:14
User 21559715-May-07 2:14 
QuestionWhat is proxy/strub in COM Pin
Nandu_77b15-May-07 1:46
Nandu_77b15-May-07 1:46 
AnswerRe: What is proxy/strub in COM [modified] Pin
User 21559715-May-07 2:18
User 21559715-May-07 2:18 
Questionregarding adding a filter Pin
Raja Bose C Leo14-May-07 3:04
Raja Bose C Leo14-May-07 3:04 
QuestionProblem: GetRecordInfoFromGuids Pin
viral_umang@hotmail.com14-May-07 1:55
viral_umang@hotmail.com14-May-07 1:55 
AnswerRe: Problem: GetRecordInfoFromGuids Pin
viral_umang@hotmail.com14-May-07 19:18
viral_umang@hotmail.com14-May-07 19:18 
QuestionInvalid Procedure call or argument in VB Client ? Pin
viral_umang@hotmail.com12-May-07 1:50
viral_umang@hotmail.com12-May-07 1:50 
AnswerRe: Invalid Procedure call or argument in VB Client ? Pin
Lim Bio Liong13-May-07 19:45
Lim Bio Liong13-May-07 19:45 
GeneralRe: Invalid Procedure call or argument in VB Client ? Pin
viral_umang@hotmail.com14-May-07 1:02
viral_umang@hotmail.com14-May-07 1:02 
GeneralRe: Invalid Procedure call or argument in VB Client ? Pin
Lim Bio Liong14-May-07 2:21
Lim Bio Liong14-May-07 2:21 
QuestionQuery Interface from Another Interface of Same Com Server Pin
georgekjolly11-May-07 4:47
georgekjolly11-May-07 4:47 
AnswerRe: Query Interface from Another Interface of Same Com Server Pin
Roger Stoltz11-May-07 5:08
Roger Stoltz11-May-07 5:08 

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.