Questions tagged [ccw]

30 questions
1
vote
0 answers

How to backup the PLC code from Allen Bradley Micro820 to a SD card?

I have made code changes in CCW-Connected Components workbench and downloaded it to the PLC. Is there a way I can directly backup the code from PLC's SD card slot?
Sowmiya
  • 11
  • 1
1
vote
1 answer

.NET CCW: WPF form deactivation issue

I have a hybrid application - VB6 app can invoke some .NET WPF forms via CCW mechanism. These forms process user input (keyboard+mouse) correctly including TAB navigation if they are showed from CCW by method 'ShowDialog'. If I use non-modal method…
1
vote
0 answers

How can you add help to a .net Com Callable Wrapper?

We have a .net assembly that needs to also be consumed by a .net hostile but COM friendly language/development-environment. The .net assembly has method/property/class help embedded in it with the standard xml comments feature. What is needed is a…
1
vote
0 answers

Cannot debug with Counterclockwise

I am running Clojure/Eclipse/Counterclockwise. When I insert a breakpoint in core.clj there is only one line in which the dot acquires a small tail. That is line 29. This is independent of what code is on line 29. When this dot with tail is present…
Soldalma
  • 4,636
  • 3
  • 25
  • 38
1
vote
2 answers

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…
Modan
  • 775
  • 4
  • 14
1
vote
2 answers

Sorting vertices of a polygon in CCW or CW direction

I have a set of edges and vertices defining a polygon (not necessarily convex). The vertices and edges are in random order and I want to sort/order the vertices of this polygon in clockwise (or anti-clock wise) direction. Any idea how this can be…
Prasad Dixit
  • 358
  • 4
  • 17
1
vote
2 answers

Form interactions are blocked when calling VB6 form from .NET?

I have a VB6 project compiled as a VB6 exe. It has a simple form as its startup object. It launches a .NET modal form via a regasm'd .NET dll, passing it an implementation of a callback COM interface (IHandler). .NET calls back to the IHandler…
Jeff
  • 35,755
  • 15
  • 108
  • 220
1
vote
0 answers

COM Callable Wrapper works in .NET 2.0 but not .NET 4.0

I have written a proof-of-concept COM Callable Wrapper in order to replace an existing COM component with new functionality. A constraint of my project is that I cannot change the calling code; the calling code should be ignorant of the presence of…
Mark
  • 1,884
  • 2
  • 25
  • 36
1
vote
2 answers

Using COM Callable Wrappers in PLC components

I have a Motorolla based, Programmable Logic Control (PLC) device and I write code in it using IEC-61131 structured programming language. The problem is that I have some complex computation to do, so I am trying to write the code in COM Callable…
Irfan
  • 2,713
  • 3
  • 29
  • 43
0
votes
1 answer

Force CCW Garbge Collection

In an C++ unmamaged project an external(*) managed DLL is used via COM Callable Wrapper (CCW) (Registered with RegAsm). But there is a memory leak: Managed memory was never cleaned up. Background: The C++ project is an old-grown 32 bit program. It…
Ralph Erdt
  • 537
  • 4
  • 16
0
votes
1 answer

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…
Adam Beck
  • 275
  • 2
  • 14
0
votes
1 answer

COM Callable Wrapper not working when called from delphi program

I've been requested to create a .Net dll for an old delphi program. I'm trying to do this with a COM Callable Wrapper, but I keep getting an error when it tries to load the dll (pretty general, something like "I couldn't load the dll"). Here is what…
camendez
  • 43
  • 3
0
votes
0 answers

C++ COM CoCreateInstace() returns -858993460

I have a third party .NET dll which I want to expose to a native C++ dll, so I wrote a wrapper dll in C#; But in the native C++ dll, every time when it excutes to CoCreateInstance(), it returns this -858993460 erroe; ----------------------Below is…
Nick X Tsui
  • 2,737
  • 6
  • 39
  • 73
0
votes
0 answers

CCW copmonent use in javascript gives error Undefined

Interface Implemented Class [ComVisible(true)] [Guid("13FE32AD-4BF8-495f-AB4D-6C61BD463EA4")]//GUID for this class [ClassInterface(ClassInterfaceType.None)]//Donot generage any interface automatically. We will explicitly create one …
ND's
  • 2,155
  • 6
  • 38
  • 59
0
votes
1 answer

If a com wrapper around a .net DLL uses one more dependent .net DLLs, should they be placed in GAC?

If a managed DLL uses one or more managed DLLs, and a com wrapper is built around the managed DLL, then should all the dependent managed DLLs be placed in GAC. I am getting an "unable to find assembly..." in a similar scenario. Thanks in advance.
TrustyCoder
  • 4,749
  • 10
  • 66
  • 119
1
2