473,473 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Com Callable Wrapper

I have the following problem:
I have a .NET component that I want to make callable
from COM enabled platforms (VB6, C++ 6.0, etc). However
this component makes use of another COM component (in this
case the AutoCAD COM interface). Acording to my
knowlegde, to create the CCW for a .NET Component, you
must generate a Strong Name Key. However, having done
that, I still can't get it to work as it prompts me for a
strong name key for the referenced COM library. Am I
doing this correctly? Please help.
Jul 19 '05 #1
2 3591
All of its dependent assemblies MUST be strong named when you strong sign
one assembly. If you strong named assembly refers to an unmanaged COM, you
need to use TlbImp /keyfile:<filename> to generate a strong named assembly
from the Type library.

Hope this is helpful

Huihong
Decompiler, obfuscator and protector for.NET code
http://www.remotesoft.com
"Roy Pereira" <ro*********@rapistan.com> wrote in message
news:0a****************************@phx.gbl...
I have the following problem:
I have a .NET component that I want to make callable
from COM enabled platforms (VB6, C++ 6.0, etc). However
this component makes use of another COM component (in this
case the AutoCAD COM interface). Acording to my
knowlegde, to create the CCW for a .NET Component, you
must generate a Strong Name Key. However, having done
that, I still can't get it to work as it prompts me for a
strong name key for the referenced COM library. Am I
doing this correctly? Please help.

Jul 19 '05 #2
Roy,
Acording to my knowlegde, to create the CCW for a .NET Component, you
must generate a Strong Name Key.


No, an assembly doesn't need to be strong named to be registered with
COM.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Roy Smith | last post by:
I've got a function which gets passed a call-back function as a parameter. I want to check to make sure the thing passed in is indeed callable. Is: assert '__call__' in dir (param) the...
4
by: Michal Vitecek | last post by:
hello everyone, today i've come upon a strange exception, consider the following file test.py: --- beginning of test.py --- class A(object): def method1(parA): print "in A.method1()"
2
by: Roy Pereira | last post by:
I have the following problem: I have a .NET component that I want to make callable from COM enabled platforms (VB6, C++ 6.0, etc). However this component makes use of another COM component (in...
2
by: Ariel Gimenez | last post by:
Hi, maybe some of you can give me a hand with this, I have a dll written in VB 6 but i havent the source code of it. In Visual Basic 6 this dll instanciates with createobject and the method was...
0
by: yatharth | last post by:
I have Query related to RCW(Runtime Callable Wrapper), how to use unmanaged code through managed C# and how to interact with COM component by C#. Actually I have to use C/C++/VC++ developed API in...
5
by: Jens | last post by:
The general problem is that I have to start an Application, programmed in C#, out of a c++-programm. To do this, I have made a com callable wrapper around the assembly and startet my application....
10
by: Nicolas Fleury | last post by:
Hi everyone, I was wondering if it would make sense to make staticmethod objects callable, so that the following code would work: class A: @staticmethod def foo(): pass bar = foo() I...
6
by: Ron Garret | last post by:
If I do this: def f(self): print self class c1: pass setattr(c1, 'm1', f) Then f is automagically transmogrified into the appropriate sort of method depending on how it is used:
6
by: netimen | last post by:
Can I substitute a method of a class by a callable object (not a function)? I can very easy insert my function in a class as a method, but an object - can't. I have the following: class...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.