Click here to Skip to main content
15,920,828 members
Home / Discussions / COM
   

COM

 
GeneralRe: chat application problem --remote connection Pin
I am ke xu24-Jul-05 0:08
I am ke xu24-Jul-05 0:08 
GeneralRe: chat application problem --remote connection Pin
Murat AKA24-Jul-05 4:29
Murat AKA24-Jul-05 4:29 
GeneralQuestion On Passing Data To Custom Draw Message Handler Pin
yccheok19-Jul-05 22:55
yccheok19-Jul-05 22:55 
Generalstandalone COM server (exe) not instantiating Pin
gautaminova19-Jul-05 16:48
gautaminova19-Jul-05 16:48 
GeneralIExplorer Button with menu Pin
18-Jul-05 11:34
suss18-Jul-05 11:34 
GeneralAdding dialog to Activex - VC++ Pin
urssmiling18-Jul-05 4:10
urssmiling18-Jul-05 4:10 
GeneralActiveX to server communication Pin
vinodraut18-Jul-05 1:45
vinodraut18-Jul-05 1:45 
GeneralEvents in RTC-client Pin
TheVictorious18-Jul-05 0:02
TheVictorious18-Jul-05 0:02 
Hello,

I'm a junior developer trying to build a Windows client application using the Microsoft RTC API, and have encountered some problems when trying to pick up events generated by the RTC core. I have built the application upon a MFC "Hello world" application found in Visual Studio, and the Window and all events (messages) that I myself trigger work fine. The application crashes the first time I expect an event coming from the COM-object (which should be picked up by the Event method of the IRTCEventNotification-interface and "forwarded" to the Window using SendMessage with LPARAM, WPARAM, etc....)

The debugger is yielding the following output (when the application crashes):


Hello.exe!_com_ptr_t<_com_IIID<rtccorelib::irtcprofile2,&_guid_4b81f84e_bdc7_4184_9154_3cb2dd7917fb> >::_Release() Line 822 + 0xd C++
Hello.exe!_com_ptr_t<_com_IIID<rtccorelib::irtcprofile2,&_guid_4b81f84e_bdc7_4184_9154_3cb2dd7917fb> >::~_com_ptr_t<_com_IIID<rtccorelib::irtcprofile2,&_guid_4b81f84e_bdc7_4184_9154_3cb2dd7917fb> >() Line 306 C++
Hello.exe!CMainFrame::~CMainFrame() + 0x1a C++
Hello.exe!CMainFrame::`scalar deleting destructor'() + 0x14 C++
rtcdll.dll!6213ae21()
rtcdll.dll!621230da()
rtcdll.dll!621230b3()
rtcdll.dll!62126418()
rtcdll.dll!6212a0de()
user32.dll!77d38734()
user32.dll!77d38816()
user32.dll!77d3c63f()
user32.dll!77d3e905()
mfc71d.dll!_AfxActivationWndProc(HWND__ * hWnd=0x00050f86, unsigned int nMsg=1131, unsigned int wParam=10, long lParam=16294216) Line 449 + 0x1a C++
user32.dll!77d38734()
user32.dll!77d38816()
ntdll.dll!7c90eae3()
user32.dll!77d389cd()
user32.dll!77d385a4()
user32.dll!77d38a10()
user32.dll!77d4e2b9()
user32.dll!77d461c6()
user32.dll!77d5a92e()
ntdll.dll!7c96e0d4()
ntdll.dll!7c94a5d0()
ntdll.dll!7c926abe()
ntdll.dll!7c926a44()
ntdll.dll!7c926abe()
ntdll.dll!7c926abe()
ntdll.dll!7c9268ad()
ntdll.dll!7c91056d()
ntdll.dll!7c95db5c()
ntdll.dll!7c926abe()
ntdll.dll!7c9268ad()
ntdll.dll!7c91056d()
ntdll.dll!7c91b686()
ntdll.dll!7c91b298()
ntdll.dll!7c9106eb()
ntdll.dll!7c960bcc()
ntdll.dll!7c915b4f()
oleaut32.dll!77114885()
ntdll.dll!7c915b4f()
ntdll.dll!7c91056d()
msvcr71d.dll!_free_base(void * pBlock=0x0012fb2c) Line 103 C
user32.dll!77d5a294()
Hello.exe!_bstr_t::Data_t::`scalar deleting destructor'() + 0x25 C++
Hello.exe!_bstr_t::Data_t::Release() Line 681 + 0x1c C++
Hello.exe!_bstr_t::_Free() Line 571 C++
0015ce50()
user32.dll!77d86060()
ntdll.dll!7c915b4f()
user32.dll!77d70577()
user32.dll!77d7052f()
mfc71d.dll!CWnd::MessageBoxA(const char * lpszText=0x0042ab10, const char * lpszCaption=0x0042aa6c, unsigned int nType=0) Line 2711 + 0x1b C++
Hello.exe!CMainFrame::DoGetProfile(unsigned short * bstrUserAccount=0x0015e634, unsigned short * bstrUserPassword=0x0015e704, unsigned short * bstrURI=0x0015e5dc, unsigned short * bstrServer=0x0015e66c, unsigned short * bstrTransport=0x00000000) Line 138 + 0x14 C++
Hello.exe!CMainFrame::Initialize() Line 96 C++
Hello.exe!CTheApp::InitInstance() Line 119 C++
mfc71d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00141f4e, int nCmdShow=1) Line 39 + 0xb C++
Hello.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00141f4e, int nCmdShow=1) Line 25 C++
Hello.exe!WinMainCRTStartup() Line 390 + 0x39 C
kernel32.dll!7c816d4f()
ntdll.dll!7c915b4f()
kernel32.dll!7c8399f3()


Any help to understand what's going on will be greatly appreciated Confused | :confused:
GeneralActiveX Control on a Window Pin
Maddie from Dartford17-Jul-05 23:54
Maddie from Dartford17-Jul-05 23:54 
GeneralRe: ActiveX Control on a Window Pin
vishalmore19-Jul-05 3:30
vishalmore19-Jul-05 3:30 
QuestionHow to use the texture as the background of bars in mschart? Pin
luckyeagle17-Jul-05 23:46
luckyeagle17-Jul-05 23:46 
GeneralDisplay custom image format in IE Pin
Pantelis Georgiadis17-Jul-05 23:21
Pantelis Georgiadis17-Jul-05 23:21 
GeneralRe: Display custom image format in IE Pin
vishalmore20-Jul-05 2:36
vishalmore20-Jul-05 2:36 
GeneralRe: Display custom image format in IE Pin
Pantelis Georgiadis20-Jul-05 3:08
Pantelis Georgiadis20-Jul-05 3:08 
GeneralRe: Display custom image format in IE Pin
vishalmore20-Jul-05 4:05
vishalmore20-Jul-05 4:05 
GeneralRe: Display custom image format in IE Pin
vishalmore20-Jul-05 4:10
vishalmore20-Jul-05 4:10 
GeneralActiveX in C# Web Service Pin
maskeen15-Jul-05 11:16
maskeen15-Jul-05 11:16 
GeneralWant to be COM programmer Pin
urssmiling14-Jul-05 3:21
urssmiling14-Jul-05 3:21 
GeneralRe: Want to be COM programmer Pin
Jörgen Sigvardsson16-Jul-05 10:32
Jörgen Sigvardsson16-Jul-05 10:32 
GeneralRe: Want to be COM programmer Pin
urssmiling17-Jul-05 23:03
urssmiling17-Jul-05 23:03 
GeneralUsing IADsNameTranslate Pin
AnkurGupta_198113-Jul-05 3:20
AnkurGupta_198113-Jul-05 3:20 
GeneralRegarding Basics Pin
Neelesh K J Jain13-Jul-05 1:31
Neelesh K J Jain13-Jul-05 1:31 
GeneralRe: Regarding Basics Pin
vishalmore13-Jul-05 18:35
vishalmore13-Jul-05 18:35 
Generalactivexc Pin
_tasleem12-Jul-05 8:47
_tasleem12-Jul-05 8:47 
GeneralRe: activexc Pin
Teeroo14-Jul-05 19:50
Teeroo14-Jul-05 19:50 

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.