Click here to Skip to main content
15,882,209 members
Home / Discussions / COM
   

COM

 
Questionwant article for com and dcom Pin
Honeyboy_206-Jun-10 16:35
Honeyboy_206-Jun-10 16:35 
QuestionDirectshow Audio Question Pin
godspeed1233-Jun-10 8:07
godspeed1233-Jun-10 8:07 
QuestionMIDL2020 : error generating type library [modified] Pin
forexsurfr29-May-10 19:09
forexsurfr29-May-10 19:09 
AnswerRe: MIDL2020 : error generating type library Pin
forexsurfr30-May-10 7:29
forexsurfr30-May-10 7:29 
QuestionWindows 7 starting new app instance from Visual Studio 2005 Pin
StevenS_Dev21-May-10 9:42
StevenS_Dev21-May-10 9:42 
QuestionRe: Windows 7 starting new app instance from Visual Studio 2005 Pin
Randor 28-May-10 4:17
professional Randor 28-May-10 4:17 
AnswerRe: Windows 7 starting new app instance from Visual Studio 2005 Pin
StevenS_Dev28-May-10 7:38
StevenS_Dev28-May-10 7:38 
QuestionGetting COM Error: Scalar deleting destructor. Pin
KTTransfer20-May-10 21:10
KTTransfer20-May-10 21:10 
Hi,

I am working on Excel Automation.

Implemented the logic to retrieve all the running Excel instances, now I am getting IDispatch pointer. Assigning this IDispatch Pointer to Excel object.

Following is the code:

IDispatch* p=NULL;
HRESULT hr = AccessibleObjectFromWindow(hwnd, OBJID_WINDOW, __uuidof(IDispatch), (void**)&p);
if(hr == S_OK)
{
try
{
Excel::WindowsPtr pWindow = NULL;
HRESULT hr = p->QueryInterface(__uuidof(IDispatch),(void**)&pWindow);
Excel::_ApplicationPtr xl;
xl = pWindow->Application;

But getting com exception at above line. The com error: _Vfpointer: scalar deleting destructor(unsigned int) m_hresult:"Member not found".

I googled but there is no clarity in solution.

If any clue, please let me know.

Thanks in Advance.

Regards,
KTTransfer.
AnswerRe: Getting COM Error: Scalar deleting destructor. Pin
Stephen Hewitt20-May-10 21:54
Stephen Hewitt20-May-10 21:54 
GeneralRe: Getting COM Error: Scalar deleting destructor. Pin
KTTransfer20-May-10 22:34
KTTransfer20-May-10 22:34 
GeneralRe: Getting COM Error: Scalar deleting destructor. Pin
Stephen Hewitt22-May-10 22:09
Stephen Hewitt22-May-10 22:09 
QuestionApplication attempted to perform an operation not allowed by the security policy Pin
NarVish19-May-10 1:38
NarVish19-May-10 1:38 
QuestionTROUBLE Passing BYTE Array from Client to COM OUTPROC Server [modified] Pin
K ARUN KUMAR17-May-10 18:22
K ARUN KUMAR17-May-10 18:22 
AnswerRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt17-May-10 19:59
Stephen Hewitt17-May-10 19:59 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR17-May-10 21:07
K ARUN KUMAR17-May-10 21:07 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt17-May-10 22:33
Stephen Hewitt17-May-10 22:33 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR17-May-10 23:30
K ARUN KUMAR17-May-10 23:30 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 0:14
Stephen Hewitt18-May-10 0:14 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 0:32
K ARUN KUMAR18-May-10 0:32 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 0:37
Stephen Hewitt18-May-10 0:37 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 0:54
K ARUN KUMAR18-May-10 0:54 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 5:25
Stephen Hewitt18-May-10 5:25 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 18:13
K ARUN KUMAR18-May-10 18:13 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
Stephen Hewitt18-May-10 18:22
Stephen Hewitt18-May-10 18:22 
GeneralRe: TROUBLE Passing BYTE Array from Client to COM OUTPROC Server Pin
K ARUN KUMAR18-May-10 18:46
K ARUN KUMAR18-May-10 18:46 

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.