Click here to Skip to main content
15,907,906 members
Home / Discussions / COM
   

COM

 
AnswerRe: how to get IWebbrowser2 by using HWND? Pin
User 2155971-Nov-05 8:09
User 2155971-Nov-05 8:09 
QuestionCreating web browser object in my application... Pin
Alex Kofman31-Oct-05 4:20
Alex Kofman31-Oct-05 4:20 
AnswerRe: Creating web browser object in my application... Pin
User 21559731-Oct-05 11:46
User 21559731-Oct-05 11:46 
GeneralRe: Creating web browser object in my application... Pin
Alex Kofman31-Oct-05 20:21
Alex Kofman31-Oct-05 20:21 
GeneralRe: Creating web browser object in my application... Pin
User 2155971-Nov-05 8:01
User 2155971-Nov-05 8:01 
QuestionExposing an external interface Pin
RChin31-Oct-05 1:57
RChin31-Oct-05 1:57 
AnswerRe: Exposing an external interface Pin
FearlessBurner31-Oct-05 22:03
FearlessBurner31-Oct-05 22:03 
QuestionWhere I can found definition of some interface Pin
handy12330-Oct-05 17:59
handy12330-Oct-05 17:59 
Hi all! I'm new in COM therefore my question may seem strange.
(Beforehand I beg your pardon for my English Smile | :)

So, question is: Where I can found definition of some interface?
Let me explain (I use MS VC++ 6.0). Suppose I want to add in my program
Windows Media Player Control. Fist of all I create control:

....
CWnd m_PlayerWnd;
...
...
m_PlayerWnd.CreateControl(WMP_clsid,"", WS_VISIBLE|WS_CHILD, rect,&m_panel,AFX_IDW_PANE_FIRST);

then I get pointer to IUnknown:

LPUNKNOWN lpUnk = m_PlayerWnd.GetControlUnknown();

promlem is that I can't just do like this:

IWMPControl* pPlrControl;

and then get pointer to IWMPControl using lpUnk->QueryInterface and then
control Player through IWMPControl's methods cause MS VC++ 6.0 say that
'IWMPControl' undefined.

I can control Player through IDispatch's methods like GetIDsOfNames and Invoke, but
I think that control Player through IWMPControl is more comfortable.

So can you help me? Should I create this definition by hand or there is some anoter way?

Thanks In Advance.

Dmitry Dubinin


P.S. I know that there is wrapper class for WMPlayer in MS VC++ 6.0, but I choose WMPlayer
just for example.

Smile | :)
AnswerRe: Where I can found definition of some interface Pin
Christian Graus30-Oct-05 18:36
protectorChristian Graus30-Oct-05 18:36 
QuestionCompatability of a dll generated in Delphi Pin
sukanyavarma29-Oct-05 0:30
sukanyavarma29-Oct-05 0:30 
QuestionHey i have problem accessing the activeX Pin
zammy28-Oct-05 4:00
zammy28-Oct-05 4:00 
QuestionNeed for dll registration??? Pin
Diana Fernandez28-Oct-05 0:07
Diana Fernandez28-Oct-05 0:07 
AnswerRe: Need for dll registration??? Pin
Roger Stoltz31-Oct-05 2:24
Roger Stoltz31-Oct-05 2:24 
GeneralRe: Need for dll registration??? Pin
Diana Fernandez7-Nov-05 18:03
Diana Fernandez7-Nov-05 18:03 
Questionhow to implementate a registration script Pin
T.J.27-Oct-05 22:51
T.J.27-Oct-05 22:51 
QuestionActiveX contrl Pin
LiYS27-Oct-05 17:03
LiYS27-Oct-05 17:03 
Question.NET to COM interoperability Pin
sirmongo27-Oct-05 10:50
sirmongo27-Oct-05 10:50 
QuestionWord AddIn will not start in second document Pin
hendriks24-Oct-05 2:42
hendriks24-Oct-05 2:42 
QuestionQuery about RTC application Pin
eDip23-Oct-05 23:22
eDip23-Oct-05 23:22 
QuestionAsp.net question Pin
ramenk23-Oct-05 20:50
ramenk23-Oct-05 20:50 
QuestionHelp with ASP.Net application Pin
ramenk23-Oct-05 19:17
ramenk23-Oct-05 19:17 
AnswerRe: Help with ASP.Net application Pin
Christian Graus23-Oct-05 19:39
protectorChristian Graus23-Oct-05 19:39 
GeneralRe: Help with ASP.Net application Pin
ramenk23-Oct-05 19:44
ramenk23-Oct-05 19:44 
GeneralRe: Help with ASP.Net application Pin
Christian Graus23-Oct-05 19:46
protectorChristian Graus23-Oct-05 19:46 
GeneralRe: Help with ASP.Net application Pin
ramenk23-Oct-05 20:27
ramenk23-Oct-05 20:27 

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.