Click here to Skip to main content
15,916,846 members
Home / Discussions / C#
   

C#

 
GeneralRe: Jagged Arrays Definition Pin
Sokka9315-Jan-10 6:34
Sokka9315-Jan-10 6:34 
AnswerRe: Jagged Arrays Definition Pin
BillWoodruff16-Jan-10 20:42
professionalBillWoodruff16-Jan-10 20:42 
GeneralRe: Jagged Arrays Definition Pin
Sokka9317-Jan-10 6:03
Sokka9317-Jan-10 6:03 
QuestionMultiThread and File process Pin
AlexB4715-Jan-10 2:54
AlexB4715-Jan-10 2:54 
AnswerRe: MultiThread and File process Pin
Ilia Blank15-Jan-10 3:50
Ilia Blank15-Jan-10 3:50 
GeneralRe: MultiThread and File process Pin
AlexB4715-Jan-10 4:04
AlexB4715-Jan-10 4:04 
GeneralRe: MultiThread and File process Pin
Ilia Blank15-Jan-10 4:12
Ilia Blank15-Jan-10 4:12 
GeneralRe: MultiThread and File process Pin
AlexB4715-Jan-10 4:19
AlexB4715-Jan-10 4:19 
GeneralRe: MultiThread and File process Pin
Ilia Blank15-Jan-10 4:29
Ilia Blank15-Jan-10 4:29 
GeneralRe: MultiThread and File process Pin
AlexB4715-Jan-10 4:45
AlexB4715-Jan-10 4:45 
GeneralRe: MultiThread and File process Pin
Ilia Blank15-Jan-10 5:33
Ilia Blank15-Jan-10 5:33 
GeneralRe: MultiThread and File process Pin
AlexB4717-Jan-10 20:42
AlexB4717-Jan-10 20:42 
GeneralRe: MultiThread and File process Pin
Ilia Blank18-Jan-10 4:53
Ilia Blank18-Jan-10 4:53 
GeneralRe: MultiThread and File process Pin
AlexB4718-Jan-10 4:58
AlexB4718-Jan-10 4:58 
GeneralRe: MultiThread and File process Pin
Ilia Blank18-Jan-10 5:04
Ilia Blank18-Jan-10 5:04 
AnswerRe: MultiThread and File process Pin
wjp_auhtm15-Jan-10 3:54
wjp_auhtm15-Jan-10 3:54 
GeneralRe: MultiThread and File process Pin
AlexB4715-Jan-10 4:06
AlexB4715-Jan-10 4:06 
GeneralRe: MultiThread and File process Pin
wjp_auhtm16-Jan-10 2:29
wjp_auhtm16-Jan-10 2:29 
GeneralRe: MultiThread and File process Pin
Luc Pattyn15-Jan-10 5:13
sitebuilderLuc Pattyn15-Jan-10 5:13 
AnswerRe: MultiThread and File process Pin
Alaric Dailey15-Jan-10 6:00
Alaric Dailey15-Jan-10 6:00 
GeneralRe: MultiThread and File process Pin
AlexB4717-Jan-10 20:45
AlexB4717-Jan-10 20:45 
GeneralRe: MultiThread and File process Pin
Alaric Dailey18-Jan-10 4:37
Alaric Dailey18-Jan-10 4:37 
QuestionSystem.InvalidCastException Query Pin
DwR15-Jan-10 2:45
DwR15-Jan-10 2:45 
Hi,
I am passing a VBScript Object to a C# assembly and am getting the following error output:

"Unable to cast COM object of type 'Agents.AgentClass' to interface type 'Agents._Agent'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{315DF678-45D7-4A60-9A50-C9E83672A5E5}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."

I'd appreciate it if someone can explain what is going on here and how I can fix it? I am confused...

Note: I have tried changing the method header to accept type Agents._Agent but that causing the method call in vbscript to fail completely. Changing the type to Agents.Agent (another available type) generates a similar error.


Kind Regards,
Dave

Regards,
Dave

AnswerRe: System.InvalidCastException Query Pin
DwR16-Jan-10 2:45
DwR16-Jan-10 2:45 
AnswerRe: System.InvalidCastException Query Pin
Eddy Vluggen17-Jan-10 10:50
professionalEddy Vluggen17-Jan-10 10: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.