Click here to Skip to main content
15,899,935 members
Home / Discussions / COM
   

COM

 
QuestionHave I understood COM correctly? Pin
Paul Ingles20-Jul-02 13:47
Paul Ingles20-Jul-02 13:47 
AnswerRe: Have I understood COM correctly? Pin
Noam Ben Haim24-Jul-02 3:55
Noam Ben Haim24-Jul-02 3:55 
QuestionMFC to ATL ???? Pin
Leesen19-Jul-02 18:03
Leesen19-Jul-02 18:03 
AnswerRe: MFC to ATL ???? Pin
Not Active20-Jul-02 16:07
mentorNot Active20-Jul-02 16:07 
GeneralRe: MFC to ATL ???? Pin
Leesen22-Jul-02 18:30
Leesen22-Jul-02 18:30 
AnswerRe: MFC to ATL ???? Pin
Vivek Rajan22-Jul-02 18:52
Vivek Rajan22-Jul-02 18:52 
GeneralClick function Pin
Al_Pennyworth19-Jul-02 8:11
Al_Pennyworth19-Jul-02 8:11 
GeneralActiveX assert Pin
joblemar19-Jul-02 0:50
sussjoblemar19-Jul-02 0:50 
I have made an ActiveX control and I was working with it in a MFC application that uses the CMultiPageDHtmlDialog class.

The problem is that when I close the aplication an assert ocurs. The message is : dwCookie != 0 && dCookie <= (DWORD)m_nSize.

The assert is placed in a method called GetUnknow.The code of the method is:
IUnknown* WINAPI GetUnknown(DWORD dwCookie)
{
#ifndef _ATL_OLEDB_CONFORMANCE_TESTS
ATLASSERT(dwCookie != 0 && dwCookie <= (DWORD)m_nSize);
#endif
if (dwCookie != 0 && dwCookie <= (DWORD)m_nSize)
return GetAt(dwCookie-1);
else
return NULL;
}

This method is called when the application is breaking the event connections (I think). Please give me some help. Thanks.
Generalthumbnail using IExtractImage Pin
toon18-Jul-02 20:54
toon18-Jul-02 20:54 
GeneralRe: thumbnail using IExtractImage Pin
loket21-Jul-02 7:41
loket21-Jul-02 7:41 
QuestionAnyone with experience in out-of-proc COM servers? Pin
jfugate18-Jul-02 9:31
jfugate18-Jul-02 9:31 
AnswerRe: Anyone with experience in out-of-proc COM servers? Pin
soptest18-Jul-02 9:48
soptest18-Jul-02 9:48 
GeneralRe: Anyone with experience in out-of-proc COM servers? Pin
jfugate18-Jul-02 10:04
jfugate18-Jul-02 10:04 
GeneralRe: Anyone with experience in out-of-proc COM servers? Pin
soptest18-Jul-02 13:17
soptest18-Jul-02 13:17 
AnswerRe: Anyone with experience in out-of-proc COM servers? Pin
Vi222-Jul-02 4:14
Vi222-Jul-02 4:14 
GeneralRe: Anyone with experience in out-of-proc COM servers? Pin
jfugate22-Jul-02 6:30
jfugate22-Jul-02 6:30 
Generalwhy do have to restart to get excel/ word application. every time Pin
pnpfriend18-Jul-02 5:29
pnpfriend18-Jul-02 5:29 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
SHaroz18-Jul-02 5:43
SHaroz18-Jul-02 5:43 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
pnpfriend18-Jul-02 6:04
pnpfriend18-Jul-02 6:04 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
SHaroz18-Jul-02 6:16
SHaroz18-Jul-02 6:16 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
pnpfriend18-Jul-02 6:52
pnpfriend18-Jul-02 6:52 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
SHaroz18-Jul-02 7:14
SHaroz18-Jul-02 7:14 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
pnpfriend18-Jul-02 8:26
pnpfriend18-Jul-02 8:26 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
soptest18-Jul-02 9:57
soptest18-Jul-02 9:57 
GeneralHELP ME TO FIND AN ERROR Pin
Alex Cramer17-Jul-02 23:59
Alex Cramer17-Jul-02 23:59 

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.