Click here to Skip to main content
15,887,676 members
Home / Discussions / COM
   

COM

 
GeneralRe: How will you talk with Activex or COM(could be created in MFC) From C#? Pin
spalanivel13-Sep-07 20:10
spalanivel13-Sep-07 20:10 
GeneralRe: How will you talk with Activex or COM(could be created in MFC) From C#? Pin
User 21559713-Sep-07 23:43
User 21559713-Sep-07 23:43 
GeneralRe: How will you talk with Activex or COM(could be created in MFC) From C#? Pin
spalanivel2-Oct-07 5:30
spalanivel2-Oct-07 5:30 
QuestionHow to use a COM but with no .h files Pin
kcynic12-Sep-07 19:50
kcynic12-Sep-07 19:50 
AnswerRe: How to use a COM but with no .h files Pin
User 21559713-Sep-07 0:56
User 21559713-Sep-07 0:56 
GeneralRe: How to use a COM but with no .h files Pin
kcynic14-Sep-07 19:37
kcynic14-Sep-07 19:37 
Questionhost an activeX control from an activeX control? [modified] Pin
steve_c_davis12-Sep-07 5:03
steve_c_davis12-Sep-07 5:03 
AnswerRe: host an activeX control from an activeX control? Pin
steve_c_davis13-Sep-07 5:33
steve_c_davis13-Sep-07 5:33 
Here's exactly what's going wrong -
// from the header file
CAxWindow *m_pView; // Host container to hold remoted WMP

// in the class
CComPtr<IAxWinHostWindow> spHost;
RECT rectWMP={1,1,1,1};

AtlAxWinInit();

m_pView = new CAxWindow();
hr = m_pView ? S_OK : E_OUTOFMEMORY; // succeeds

	
if(SUCCEEDED(hr))
{
    MessageBox(_T("Got AxWindow"), _T("WMP Container"), MB_OK);
    m_pView->Create(m_hWnd, rectWMP, NULL, WS_CHILD);

    hr = ::IsWindow(m_pView->m_hWnd)? S_OK : E_FAIL; // fails
}

Is it clearer what is going on from that? (this same code works fine in a local app)
QuestionIncorrectly formated message url in OnSyncSave Pin
Ashish Vasudev12-Sep-07 3:29
Ashish Vasudev12-Sep-07 3:29 
QuestionBeginner COM Pin
Kuryn11-Sep-07 9:10
Kuryn11-Sep-07 9:10 
AnswerRe: Beginner COM Pin
Michael Dunn13-Sep-07 10:10
sitebuilderMichael Dunn13-Sep-07 10:10 
QuestionRegistry Pin
john563210-Sep-07 19:46
john563210-Sep-07 19:46 
QuestionHow to create a proxy/stub dll for a odl( which has come with MFC dialog based application with automation support) Pin
Kishore JP10-Sep-07 0:58
Kishore JP10-Sep-07 0:58 
QuestionHow to write directly in COleStreamFile(would be serialized in Structured Storage)? Pin
oleg637-Sep-07 11:28
professionaloleg637-Sep-07 11:28 
QuestionUsing COM in a scenario. Pin
HakunaMatada6-Sep-07 19:09
HakunaMatada6-Sep-07 19:09 
AnswerRe: Using COM in a scenario. Pin
Hubert Mayer12-Sep-07 5:04
Hubert Mayer12-Sep-07 5:04 
QuestionConverting a C++ COM object to .NET COM object Pin
xavierakx6-Sep-07 17:51
xavierakx6-Sep-07 17:51 
AnswerRe: Converting a C++ COM object to .NET COM object Pin
Venkata Rama Subbarao11-Sep-07 14:39
Venkata Rama Subbarao11-Sep-07 14:39 
GeneralRe: Converting a C++ COM object to .NET COM object Pin
xavierakx11-Sep-07 17:32
xavierakx11-Sep-07 17:32 
GeneralApplication crashes when CoCreateInstance is called in VS 2005 in Vista machine Pin
sw@thi6-Sep-07 1:17
sw@thi6-Sep-07 1:17 
GeneralRe: Application crashes when CoCreateInstance is called in VS 2005 in Vista machine Pin
Hubert Mayer12-Sep-07 5:06
Hubert Mayer12-Sep-07 5:06 
QuestionGUID Creation Pin
HakunaMatada5-Sep-07 18:53
HakunaMatada5-Sep-07 18:53 
AnswerRe: GUID Creation Pin
Michael Dunn6-Sep-07 15:25
sitebuilderMichael Dunn6-Sep-07 15:25 
QuestionTlbImp is causing an error ? Pin
AF_Ciphr5-Sep-07 5:27
AF_Ciphr5-Sep-07 5:27 
QuestionActiveX - open file error Pin
m1m24-Sep-07 10:18
m1m24-Sep-07 10:18 

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.