Click here to Skip to main content
16,011,383 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralGarbage Collection in DotNet Pin
dskumar9914-Jul-03 4:24
dskumar9914-Jul-03 4:24 
GeneralRe: Garbage Collection in DotNet Pin
Philip Fitzsimons15-Jul-03 2:32
Philip Fitzsimons15-Jul-03 2:32 
GeneralRe: Garbage Collection in DotNet Pin
Heath Stewart15-Jul-03 8:58
protectorHeath Stewart15-Jul-03 8:58 
GeneralSocket Problems on particular machine Pin
stonee7413-Jul-03 5:43
stonee7413-Jul-03 5:43 
GeneralRe: Socket Problems on particular machine Pin
stonee7428-Jul-03 4:49
stonee7428-Jul-03 4:49 
GeneralAnother "Interop" question. Pin
igor196012-Jul-03 12:46
igor196012-Jul-03 12:46 
GeneralRe: Another "Interop" question. Pin
igor196012-Jul-03 15:23
igor196012-Jul-03 15:23 
GeneralRe: Another "Interop" question. Pin
Mike Dimmick13-Jul-03 1:16
Mike Dimmick13-Jul-03 1:16 
The TLBEXP tool is for exporting types from a .NET assembly to COM. You should use REGASM to register your assemblies for COM while you're developing (or tick the 'Register for COM Interop' box in the IDE), and select the appropriate option (which I currently forget) in the deployment project for the assembly.

The purpose of the type library is to allow COM clients to know what classes, interfaces, methods and other types the assembly exposes. This is used by scripting engines at run-time, and VB6 at design and compile time, and also run-time if you use the VB6 Object type.

The COM Callable Wrapper (CCW) is an object which the framework generates that looks like a COM object externally, with COM-compatible types. This is a stub translator which marshals the types from COM formats (e.g. BSTR) into .NET compatible types, then calls the .NET method.

To go the other way, for a .NET assembly to call a COM object, the runtime generates a Runtime Callable Wrapper (RCW). This is a proxy for the COM object which again translates types from .NET to COM-compatible formats.

Shameless plug: we've used this with our Meteor[^] product (a system for allowing thin-client hand-held data capture terminals to run an application on a Windows server) to allow development in VB.NET, while the server software itself is written in VB6. Most new applications we're writing are now in VB.NET.

--
Mike Dimmick
GeneralRe: Another "Interop" question. Pin
igor196013-Jul-03 9:25
igor196013-Jul-03 9:25 
GeneralRe: Another "Interop" question. Pin
Heath Stewart15-Jul-03 9:09
protectorHeath Stewart15-Jul-03 9:09 
GeneralRe: Another "Interop" question. Pin
Jeffster15-Jul-03 12:07
Jeffster15-Jul-03 12:07 
GeneralRe: Another "Interop" question. Pin
Heath Stewart15-Jul-03 12:50
protectorHeath Stewart15-Jul-03 12:50 
GeneralRe: Another "Interop" question. Pin
igor196016-Jul-03 5:29
igor196016-Jul-03 5:29 
GeneralRe: Another "Interop" question. Pin
Nick Parker13-Jul-03 9:57
protectorNick Parker13-Jul-03 9:57 
GeneralRe: Another "Interop" question. Pin
igor196013-Jul-03 10:52
igor196013-Jul-03 10:52 
GeneralWIN CE and .NET Pin
Dato12-Jul-03 10:24
Dato12-Jul-03 10:24 
GeneralRe: WIN CE and .NET Pin
Heath Stewart15-Jul-03 9:16
protectorHeath Stewart15-Jul-03 9:16 
GeneralSpeech SDK question... Pin
JoeSox11-Jul-03 7:43
JoeSox11-Jul-03 7:43 
GeneralTrial version Pin
Anonymous11-Jul-03 3:51
Anonymous11-Jul-03 3:51 
GeneralRe: Trial version Pin
Heath Stewart11-Jul-03 4:37
protectorHeath Stewart11-Jul-03 4:37 
GeneralRe: Trial version Pin
Nick Parker12-Jul-03 4:59
protectorNick Parker12-Jul-03 4:59 
GeneralRe: Trial version Pin
Heath Stewart12-Jul-03 7:28
protectorHeath Stewart12-Jul-03 7:28 
GeneralRe: Trial version Pin
Nick Parker12-Jul-03 7:50
protectorNick Parker12-Jul-03 7:50 
GeneralRe: Trial version Pin
Heath Stewart12-Jul-03 7:54
protectorHeath Stewart12-Jul-03 7:54 
GeneralRe: Trial version Pin
Nick Parker12-Jul-03 8:27
protectorNick Parker12-Jul-03 8:27 

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.