By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,203 Members | 1,480 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,203 IT Pros & Developers. It's quick & easy.

suspicious over CCW

P: n/a
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

Mar 29 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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.

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<ka**************@lntinfotech.com> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
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

Mar 29 '06 #2

P: n/a
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

Apr 4 '06 #3

P: n/a
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.
<ka**************@lntinfotech.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...
| 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
|
Apr 4 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.