Click here to Skip to main content
15,936,119 members
Home / Discussions / C#
   

C#

 
GeneralRe: More on C# / DX9 Pin
Brian Olej2-Jan-03 14:19
Brian Olej2-Jan-03 14:19 
GeneralRe: More on C# / DX9 Pin
Paul Riley2-Jan-03 14:29
Paul Riley2-Jan-03 14:29 
GeneralRe: More on C# / DX9 Pin
Shock The Dark Mage2-Jan-03 14:29
Shock The Dark Mage2-Jan-03 14:29 
GeneralRe: More on C# / DX9 Pin
Paul Riley2-Jan-03 14:31
Paul Riley2-Jan-03 14:31 
GeneralRe: More on C# / DX9 Pin
Philip Fitzsimons2-Jan-03 21:39
Philip Fitzsimons2-Jan-03 21:39 
GeneralRe: More on C# / DX9 Pin
Andreas Philipson5-Jan-03 10:06
Andreas Philipson5-Jan-03 10:06 
GeneralRe: More on C# / DX9 Pin
Paul Riley5-Jan-03 10:20
Paul Riley5-Jan-03 10:20 
QuestionPassing an interface from C# to COM? Pin
Bog2-Jan-03 9:44
Bog2-Jan-03 9:44 
In C#,

I did the interop to bring the COM IMoniker interface into C#, and then I made a C# class that implements IMoniker. I made an instance of the class I made, and then I casted it to get an IMoniker.

I then called a com method, IPersistMoniker.Load, and passed it my IMoniker object. I get a generic error, System.ExecutionEngineException.

I'm guessing that the problem has something to do with going "the other way" with com interop- that I'm passing my interface from managed C# into the COM method. Am I right?

What do I have to do to the C# object to make COM digest it, is there just one of those [] things I put ontop of the c# object?



"Outside of a dog, a book is Man’s best friend. And inside of a dog, it’s too dark to read."
-Groucho Marx

AnswerRe: Passing an interface from C# to COM? Pin
Anonymous2-Jan-03 10:10
Anonymous2-Jan-03 10:10 
AnswerRe: Passing an interface from C# to COM? Pin
James T. Johnson2-Jan-03 16:57
James T. Johnson2-Jan-03 16:57 
GeneralRe: Passing an interface from C# to COM? Pin
Bog2-Jan-03 17:13
Bog2-Jan-03 17:13 
Generalclosing a .exe from within a seperate .exe Pin
jtmtv182-Jan-03 8:25
jtmtv182-Jan-03 8:25 
GeneralRe: closing a .exe from within a seperate .exe Pin
Ranjan Banerji2-Jan-03 8:36
Ranjan Banerji2-Jan-03 8:36 
GeneralRe: closing a .exe from within a seperate .exe Pin
jtmtv182-Jan-03 8:48
jtmtv182-Jan-03 8:48 
GeneralRe: closing a .exe from within a seperate .exe Pin
Ranjan Banerji2-Jan-03 9:00
Ranjan Banerji2-Jan-03 9:00 
GeneralRe: closing a .exe from within a seperate .exe Pin
-G-4-Jan-03 6:28
-G-4-Jan-03 6:28 
GeneralRe: closing a .exe from within a seperate .exe Pin
Nick Parker2-Jan-03 9:06
protectorNick Parker2-Jan-03 9:06 
QuestionRestricted access to properties? Pin
Nnamdi Onyeyiri2-Jan-03 7:01
Nnamdi Onyeyiri2-Jan-03 7:01 
AnswerRe: Restricted access to properties? Pin
James T. Johnson2-Jan-03 9:35
James T. Johnson2-Jan-03 9:35 
GeneralRe: Restricted access to properties? Pin
Nnamdi Onyeyiri2-Jan-03 11:55
Nnamdi Onyeyiri2-Jan-03 11:55 
Generalmessage box stuff Pin
jtmtv182-Jan-03 6:59
jtmtv182-Jan-03 6:59 
GeneralRe: message box stuff Pin
Ray Cassick2-Jan-03 7:55
Ray Cassick2-Jan-03 7:55 
GeneralRe: message box stuff Pin
Brian Olej2-Jan-03 14:23
Brian Olej2-Jan-03 14:23 
GeneralArray Serialization - kinda urgent Pin
Mr BallyDaHob2-Jan-03 5:18
Mr BallyDaHob2-Jan-03 5:18 
GeneralQuestion about inherited/custom control.. Pin
Randy Williams2-Jan-03 5:08
Randy Williams2-Jan-03 5:08 

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.