Click here to Skip to main content
15,892,072 members
Home / Discussions / C#
   

C#

 
GeneralRe: exe not executed Pin
amaankhan1-Jun-10 19:12
amaankhan1-Jun-10 19:12 
GeneralRe: exe not executed Pin
prithaa1-Jun-10 19:16
prithaa1-Jun-10 19:16 
AnswerRe: exe not executed Pin
Luc Pattyn2-Jun-10 1:53
sitebuilderLuc Pattyn2-Jun-10 1:53 
GeneralRe: exe not executed Pin
prithaa2-Jun-10 20:52
prithaa2-Jun-10 20:52 
GeneralRe: exe not executed Pin
Luc Pattyn3-Jun-10 1:36
sitebuilderLuc Pattyn3-Jun-10 1:36 
GeneralRe: exe not executed Pin
prithaa3-Jun-10 1:38
prithaa3-Jun-10 1:38 
GeneralRe: exe not executed Pin
Luc Pattyn3-Jun-10 1:40
sitebuilderLuc Pattyn3-Jun-10 1:40 
QuestionCalling COM fails in C# destructor Pin
cmartono1-Jun-10 16:41
cmartono1-Jun-10 16:41 
Hi All,
I am writing a .net application that calls a COM interface. I can use / call this interace through out the program, just fine. But calling the same interface fails in the class destructor. I need to call it there because the COM interface has something like "disconnect" method that i need to call before exiting my app.

The error that i get (only when calling the interface from destructor):
"Unable to cast COM object of type 'MyCOMObject' to interface type 'MyCOMInterface'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{9EA75075-57E3-4DCE-AACC-B87637142867}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))"

Anybody knows what I am missing or doing wrong?
Thanks in advance!

-Chris
AnswerRe: Calling COM fails in C# destructor Pin
Abhinav S1-Jun-10 17:43
Abhinav S1-Jun-10 17:43 
QuestionClick on WindowPattern Pin
mayraglez1-Jun-10 7:41
mayraglez1-Jun-10 7:41 
QuestionDataTable row column lookup possiblity? Pin
Blubbo1-Jun-10 7:11
Blubbo1-Jun-10 7:11 
AnswerRe: DataTable row column lookup possiblity? Pin
T M Gray1-Jun-10 10:16
T M Gray1-Jun-10 10:16 
GeneralRe: DataTable row column lookup possiblity? Pin
Blubbo2-Jun-10 2:07
Blubbo2-Jun-10 2:07 
AnswerRe: DataTable row column lookup possiblity? Pin
PIEBALDconsult1-Jun-10 13:31
mvePIEBALDconsult1-Jun-10 13:31 
AnswerRe: DataTable row column lookup possiblity? Pin
AspDotNetDev1-Jun-10 17:58
protectorAspDotNetDev1-Jun-10 17:58 
GeneralRe: DataTable row column lookup possiblity? Pin
Blubbo2-Jun-10 2:08
Blubbo2-Jun-10 2:08 
QuestionSend mail through SMTP server Pin
loyal ginger1-Jun-10 7:02
loyal ginger1-Jun-10 7:02 
AnswerRe: Send mail through SMTP server Pin
Abhinav S1-Jun-10 7:52
Abhinav S1-Jun-10 7:52 
GeneralRe: Send mail through SMTP server Pin
loyal ginger1-Jun-10 8:51
loyal ginger1-Jun-10 8:51 
AnswerRe: Send mail through SMTP server Pin
OriginalGriff1-Jun-10 8:22
mveOriginalGriff1-Jun-10 8:22 
GeneralRe: Send mail through SMTP server Pin
loyal ginger1-Jun-10 8:33
loyal ginger1-Jun-10 8:33 
GeneralRe: Send mail through SMTP server Pin
OriginalGriff1-Jun-10 8:41
mveOriginalGriff1-Jun-10 8:41 
GeneralRe: Send mail through SMTP server Pin
Luc Pattyn1-Jun-10 9:11
sitebuilderLuc Pattyn1-Jun-10 9:11 
GeneralRe: Send mail through SMTP server Pin
loyal ginger1-Jun-10 8:48
loyal ginger1-Jun-10 8:48 
GeneralRe: Send mail through SMTP server Pin
OriginalGriff1-Jun-10 8:54
mveOriginalGriff1-Jun-10 8:54 

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.