The reverse way ...
(3 messages)
Date: Mon, 30 Jul 2007 12:09:09 +0200
Hello,
Need some help: I want to call a managed dll (C# code) from a C++
module.
Is there a kind of a 'Reverse-P/Invoke'?
How / what to do?
Thanks.
victor. ...
|
howto generate a helpstring in typelib from interop assembly?
(7 messages)
Date: Mon, 30 Jul 2007 01:20:00 -0700
hello,
I have created an interop assembly in C#.
But I couldn't find any way to export helpstrings to the generated typelib
for this assembly.
Which ways have I to do this?
Thanks for your time and any suggestions ...
|
Heap Corruption Issue using Manifest Files
(4 messages)
Date: Fri, 27 Jul 2007 16:39:30 -0400
Hi,
I have been using Reg-Free COM to load a .NET assembly using a CPP client
using manifest files. Recently I deployed my .NET assembly, and the loading
of my .NET assembly was leading to heap corruption and eventually ...
|
Strange tlb-reference problem in VS2005
(2 messages)
Date: Fri, 27 Jul 2007 05:52:22 -0700
Hi NG,
I'm encountering a strange problem with a reference to an activex-tlb
from my C#-VS2005-project. Sometimes when I try to build the project I
get build-errors like "Type or namespace xxx not found..." where xxx
is ...
|
Showing Modeless Dialog using the CCW?
(2 messages)
Date: Thu, 26 Jul 2007 13:52:12 -0000
I have modified my project from the previous post and am not using
exclusively the COM callable wrapper (CCW)...
I have C++ code calling into .Net 1.1 code via the CCW. There is on
call that launches a Managed modeless ...
|
C++ calling C#.Net 1.1 to display a modeless dialog
(1 messages)
Date: Wed, 25 Jul 2007 21:15:49 -0000
You ever have one of those moments where you where too smart for your
own good? I think I have had one of those and am looking for a way to
make it all better...
To make very long story short: I have written a VERY custom ...
|
error MSB3217: Cannot register assembly
(1 messages)
Date: Tue, 24 Jul 2007 18:36:01 -0700
Hi,
In an interop marked assembly, I have a class which implements an interface
defined in another project, also marked for interop, and yet I am getting
this error:
-------------
C:\WINDOWS\Microsoft.NET\Framework\v2 ...
|
Regasm is for ComVisible .NET Assemblies -AND- PIA's???
(3 messages)
Date: Tue, 24 Jul 2007 18:16:01 -0700
OK, I used to think I understood what RegAsm was for: if you are
exposing a .NET assembly to COM, you RegAsm the assembly to add all of
the necessary COM entries to the registry so that the COM runtime can
instantiate your ...
|
How to use generics in an interface?
(1 messages)
Date: Mon, 23 Jul 2007 19:32:01 -0700
Hi,
I have an interface that uses generics in its methods:
[ComVisible(false)]
public interface IGenericProperty
{
bool GetProperty<T>(string propName, out T value);
}
I have marked it ...
|
COM Interop for Out Proc C++ Server from C#
(1 messages)
Date: Sun, 22 Jul 2007 14:24:02 -0700
I have a legacy C++ realtime appwhich is being wrapped in a out of process
COM server - fooServer. Now the IDL has four interfaces which are all
dispinterfaces. Two of them are shown -
[ uuid(FAD83C4D-7AB7-4a23-B03B-3A1339C4E68B ...
|
|
Newbie COM question about passing arrays
(3 messages)
Date: Sat, 21 Jul 2007 18:43:44 -0700
Hello,
I'm new to COM development. Here's what I want to do:
In unmanaged C++:
1) Create an interface called ITeam
2) Create another interface called IPerson
3) Create a method in ITeam called GetTeamMembers. this will ...
|
C# Finalize not called by CCW - really true?
(2 messages)
Date: Fri, 20 Jul 2007 05:46:15 -0700
Is that really true that in an in-proc C# assembly the Finalize
methods are not called when COM objects are destroyed from the caller?
And if so, is there any solution for this problem? Or the only one is
to define a "Cleanup( ...
|
Previewing Documents In A Managed Application
(1 messages)
Date: Fri, 20 Jul 2007 09:34:47 GMT
Hi, I'm trying to implement a preview feature in a managed application to
preview files of arbitrary type. Has anyone done this in a managed app? I've
seen at least one suggestion that you can host prevhost on your form, but
I'm ...
|
Does any body has a CeMapi C# wrapper or know how make such one?
(1 messages)
Date: Thu, 19 Jul 2007 14:24:40 +0800
I do not want to use Inthehand. Because in wm5 the phone will ask user to
confirm that let phone to run the Inthehand's three related dlls for three
times.
My customer does not want this happened. So I must directly invoke ...
|
COM object that has been seperated from it's underlying RCW cannot be used
(1 messages)
Date: Wed, 18 Jul 2007 19:49:08 -0700
Hi,
I have created a .net control and I have made it com visible and I am
consuming it from within Visual Objects code. But i get the following
error when calling the CreateDisplay() method:
COM object that has been ...
|
COM object that has been seperated from it's underlying RCW cannot be used
(1 messages)
Date: Wed, 18 Jul 2007 18:57:07 -0700
Hi,
I have created a .net control and I have made it com visible and I am
consuming it from within Visual Objects code. But i get the following
error when calling the CreateDisplay() method:
COM object that has been ...
|
Tlbimp: unexpected conversion of SAFEARRAY in structure
(2 messages)
Date: Thu, 19 Jul 2007 01:00:30 +0200
Hi, (.Net 2.0)
an AX-DLL written in VB6 is imported by tlbimp.
VB6 code:
Public Type SAKomplexRecord
....
End Type
Public Type SAKomplex
Records() As SAKomplexRecord
End Type
IDL: ...
|
Supprise Com Exception
(1 messages)
Date: Wed, 18 Jul 2007 15:56:11 +0300
Hi
I'm using macromedia flash.ocx version 8.0 I'm developing windows
application with c#
Sometimes
"Attempted to read or write protected memory. This is often an indication
that other memory has been corrupted"
exception ...
|
Problem registering assembly for using it as ActiveX
(3 messages)
Date: Wed, 18 Jul 2007 02:25:01 -0700
Hello,
I've got a little problem. I used to develop a component with Visual
Studio .NET 2003 (.NET framework 1.1), and registering this assembly
to COM interop with a function only writing keys in the registry
(regedit ...
|
Tixier
(1 messages)
Date: Wed, 18 Jul 2007 00:00:18 -0700
...
|