473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 3589
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.