Questions tagged [ccw]
30 questions
39
votes
2 answers
How to diagnose COM-callable wrapper object creation failure?
I am creating a COM object (from native code) using CoCreateInstance:
const
CLASS_GP2010: TGUID = "{DC55D96D-2D44-4697-9165-25D790DD8593}";
hr = CoCreateInstance(CLASS_GP2010, nil, CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER, IUnknown, out…

Ian Boyd
- 246,734
- 253
- 869
- 1,219
13
votes
1 answer
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…

Jox
- 7,132
- 14
- 49
- 63
8
votes
1 answer
How does the .NET COM Callable Wrapper generate IIDs?
Viewing the generated TLB file created by the CCW though the OLE/COM Object Viewer shows the IID remains constant unless I change the design of the interface (which is correct behaviour), my concern is that if I compile this same code on another…

TownCube
- 1,280
- 1
- 13
- 32
8
votes
2 answers
How to print to the REPL window in a Ring handler?
(defn app [request]
(println "test")
{:body "Hello World"})
(defonce server (run-jetty #'app {:port 8080 :join? false}))
println doesn't seem to work in a handler. How do I write to the REPL window?
I'm using eclipse with…

alice
- 2,547
- 4
- 24
- 30
6
votes
5 answers
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 which 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…

Jan
- 15,802
- 5
- 35
- 59
5
votes
2 answers
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.
user227979
4
votes
1 answer
COM Interop - Multi-Threading in a COM Callable Wrapper
Is it possible to use multi-threading in a .NET COM callable wrapper DLL assembly?
For example, I have a .NET assembly dll that exposes a .NET FTP library to COM. Upload functions are currently programmed as "best effort" functions. I'm not using…

HK1
- 11,941
- 14
- 64
- 99
4
votes
2 answers
What is the difference between an Interop and a RCW (Runtime Callable Wrapper)?
What is the difference between an Interop and a RCW (Runtime Callable Wrapper)?
Is it just terminology?

Mark Nold
- 5,638
- 7
- 31
- 33
4
votes
2 answers
Evaluation in Clojure REPL with CounterClockwise and Eclipse
I normally use Emacs but was inspired to try CCW + Eclipse again. I have a Clojure test project with a source file src/user.clj with the following contents:
(ns user)
(println "hi")
I have a REPL which I started with Window->Show…

JohnJ
- 4,753
- 2
- 28
- 40
3
votes
1 answer
How to troubleshoot registration/usage of a .NET COM Callable Wrapper DLL?
I have written a C# .NET Com callable wrapper DLL. I signed it with a StrongName and registered the codebase and typelib with the 64 bit regasm.exe. The registration and all the control's methods are visible with the 64-bit OleViewer. However,…

Mike
- 1,276
- 4
- 16
- 27
3
votes
1 answer
calling C# from c++ com add-in
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…

CodeLover
- 95
- 5
3
votes
1 answer
Explanation of ccw algorithm
I'm having some trouble understanding the ccw (counterclockwise) algorithm:
int ccw (Point P0, Point P1, Point P2) {
dx1 = P1.x - P0.x;
dx2 = P2.x - P0.x;
dy1 = P1.y - P0.y;
dy2 = P1.y - P0.y;
if (dy1 * dx2 > dy2 * dx1) return…

Blodwen
- 145
- 1
- 7
3
votes
3 answers
Code completion in CounterClockWise?
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…

CK.
- 31
- 1
2
votes
1 answer
Calling C# method from unmanaged C++ which passes back a full object model
I have something similar to the following in C#:
public class ClassA
{
int Id { get; set; }
ClassB[] ClassBItems { get; set; }
}
and
public class ClassB
{
int SomeOtherId {get;set;}
}
I want…

ahallan
- 79
- 6
2
votes
1 answer
How to create CCW from dll dependancy
I am creating one CCW component for C# Class Library this library contains some third party DLLs.
This user control have to use in Classic Asp page
For that purpose generated an CCW Wrapper class
In Wrapper class create interface for function…
user2404595