suspicious over CCW

K

karthik.balaguru

Hi,

We are currently accessing .NET (CSharp) (Managed World) APIs from COM
(UnManaged World) environment. We are suspicious over CCW .

If we are able to Access .NET (CSharp) APIs via a CCW from VB6, then,
Is it possible to use the same CCW and access .NET (CSharp) APIs from
VC++ ?

Is CCW(COM Callable Wrapper) independent/dependent on any kind of
language ?

Is it possible that the third party provides support for only VB6 COM
objects
and not for VC++ ?

In Simple words :-- Is it possible to use the same CCW for VB6 and VC++
and access
CSharp Dlls ?


Thanx in Advance,
Karthik Balaguru
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

CCW makes your .net classes appear as COM objects, this mean that ANY
language that support COM can consume it.

Probably what you are seeing is that the third party does not have anybody
that knows C++, only VB.
 
K

karthik.balaguru

Hi,
Thanx for the information.

Further, If i am providing a package with .NET libraries.
Then, how to make our own CCW ?

Further, Is there any thing available in free world or from other
parties .


Regards,
Karthik Balaguru
 
W

Willy Denoyette [MVP]

There is no such thing like your own CCW, a CCW is syntesized by the CLR
whenever a COM client enters managed code by creating an instance of a COM
class.
What you are looking for is a typelib contining the info required by a COM
client to create and call into .NET through COM interop.
The tool to build and register a typelib is called regasm.exe, another tool
'tlbexp.exe' can be used to build a typelib from a .NET assembly.

Willy.


| Hi,
| Thanx for the information.
|
| Further, If i am providing a package with .NET libraries.
| Then, how to make our own CCW ?
|
| Further, Is there any thing available in free world or from other
| parties .
|
|
| Regards,
| Karthik Balaguru
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top