Click here to Skip to main content
15,902,832 members
Home / Discussions / C#
   

C#

 
GeneralProperties Page Pin
Jose Fco Bonnin20-Jan-04 5:17
Jose Fco Bonnin20-Jan-04 5:17 
GeneralRe: Properties Page Pin
Heath Stewart20-Jan-04 5:30
protectorHeath Stewart20-Jan-04 5:30 
GeneralSystem.Diagnostics.Process.Start Pin
elena1234520-Jan-04 4:22
elena1234520-Jan-04 4:22 
GeneralRe: System.Diagnostics.Process.Start Pin
Heath Stewart20-Jan-04 4:36
protectorHeath Stewart20-Jan-04 4:36 
GeneralCOM Interop Pin
Ungi.20-Jan-04 3:47
Ungi.20-Jan-04 3:47 
GeneralRe: COM Interop Pin
Heath Stewart20-Jan-04 4:24
protectorHeath Stewart20-Jan-04 4:24 
GeneralRe: COM Interop Pin
Ungi.20-Jan-04 18:04
Ungi.20-Jan-04 18:04 
GeneralRe: COM Interop Pin
Heath Stewart21-Jan-04 3:42
protectorHeath Stewart21-Jan-04 3:42 
GeneralRe: COM Interop Pin
Ungi.21-Jan-04 20:23
Ungi.21-Jan-04 20:23 
GeneralGOT IT!!!! Pin
Ungi.28-Jan-04 2:14
Ungi.28-Jan-04 2:14 
Questionhow to avoid references Pin
Mephisto18720-Jan-04 3:44
Mephisto18720-Jan-04 3:44 
AnswerRe: how to avoid references Pin
Heath Stewart20-Jan-04 4:17
protectorHeath Stewart20-Jan-04 4:17 
GeneralRe: how to avoid references Pin
Mephisto18720-Jan-04 4:54
Mephisto18720-Jan-04 4:54 
GeneralRe: how to avoid references Pin
Heath Stewart20-Jan-04 5:26
protectorHeath Stewart20-Jan-04 5:26 
GeneralRe: how to avoid references Pin
Mephisto18720-Jan-04 22:12
Mephisto18720-Jan-04 22:12 
GeneralRe: how to avoid references Pin
Heath Stewart21-Jan-04 3:46
protectorHeath Stewart21-Jan-04 3:46 
Sure you can redefine the COM interfaces you require in your source, but you have to worry about instantiating, casting, marshaling, and more. Using tlbimp.exe or aximp.exe to create a Runtime Callable Wrapper (RCW), or interop assembly, is much easier. Besides, whether or not other developers use that interop assembly is moot - they can just as easily create their own! Remember, an RCW isn't the COM object - thus containing the code - itself, but just a wrapper. So long as that COM object is installed on the target machine, anyone can create an interop assembly from it. And there's will be no different from yours except, perhaps, differing only by the public key token if you sign the interop assembly when you create it.

Depending on the complexities of your COM object, manually defining all this stuff can be tedious, if not a waste of time.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: how to avoid references Pin
Mephisto18721-Jan-04 5:08
Mephisto18721-Jan-04 5:08 
AnswerRe: how to avoid references Pin
Jose Fco Bonnin20-Jan-04 5:30
Jose Fco Bonnin20-Jan-04 5:30 
GeneralRe: how to avoid references Pin
Jose Fco Bonnin20-Jan-04 6:01
Jose Fco Bonnin20-Jan-04 6:01 
GeneralRe: how to avoid references Pin
Mephisto18720-Jan-04 22:28
Mephisto18720-Jan-04 22:28 
GeneralRe: how to avoid references Pin
Heath Stewart21-Jan-04 3:24
protectorHeath Stewart21-Jan-04 3:24 
AnswerRe: how to avoid references Pin
Paul Evans20-Jan-04 22:56
Paul Evans20-Jan-04 22:56 
GeneralSTRING MANIPULATION Pin
POKRI20-Jan-04 3:31
POKRI20-Jan-04 3:31 
GeneralRe: STRING MANIPULATION Pin
Larry J. Siddens20-Jan-04 3:46
Larry J. Siddens20-Jan-04 3:46 
GeneralRe: STRING MANIPULATION Pin
Heath Stewart20-Jan-04 4:12
protectorHeath Stewart20-Jan-04 4:12 

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.