ccw

How to register a .NET CCW with regasm from a Visual Studio 2008 Setup project

I have a setup project for a .NET Service Application which uses a .NET component wich exposes a COM interface (COM callable wrapper / CCW). To get the component working on a target machine, it has to be registered with regasm.exe /tlb /codebase component.dll The /tlb switch to generate the typelib is mandatory in this case, other...

How to embed .tlb as a resource file into .NET Assembly DLL?

We're using our .NET Assembly DLL within native C++ through COM (CCW). Whenever I make new version of my DLL, I have to send two files (.dll and corresponding .tlb) to crew that's using it in their code. Is it possible to embed .tlb file as a resource in .NET DLL file? ...

calling C# from c++ com add-in

Hi, I have a COM add-in written in C++ (not C++ / CLI). I want to call a C# library objects/methods from this C++ com library. I guess the CCW comes into picture here, which i am currently reading about. Are there any quick pointers to this stuff from your experience? Also, i have a method in my Com add-in that i would like my C# lib...

Wrong Object Returned from COM Callable Wrapper

I have just made an update to a dll that is called from VBA within Powerpoint. All development went fine, but when I tried to deploy on another users machine I get a problem that I have no idea how to debug. What happens is that when the .Net object is created in the VBA, the reference that is returned is to the wrong object, so the ne...

Register managed assemblies with COM without using the GAC

I'm wondering if it possible to register assemblies with COM without having to register it with the GAC. We need to deploy some .net libraries that are exposed to classic asp using a CCW. But deployments are a nightmare. ...

Code completion in CounterClockWise?

Hi, I am a first-time user of CounterClockWise, the Eclipse plugin for Clojure, and it appears that code completion just won't work. I keep wondering whether the problem lies between my keyboard and my chair, but can't find a solution. I just installed CCW on Galileo build 20090920-1017 and MacOSX. Then I try to write some lines of cloj...

Using constructors on the Sub New() for a CCW

I'm trying to create a COM Class Library for my VBA Project and one of the limitations I've seemed to have stumbled across is using constructors on the New() subroutine. After creating the new COM class a Public Sub New() is created with the following comments ' A creatable COM class must have a Public Sub New() ' with no parameters, ...

E_OUTOFMEMORY calling CCW com object from VC++ ISAPI in IIS.

I'm attempting to use .NET Com Callable Wrapper from ISAPI DLL (VC++) in IIS 7. COM object is created successfully, but method call return E_OUTOFMEMORY. Same code in VC++ console app runs successfully. Any ideas? The VC++ code is unmanaged. thanks,ka3751 ...