all groups > dotnet interop > october 2006 > threads for october 1 - 7, 2006
Filter by week: 1 2 3 4 5
Can I use a .Net C# executable as an out-of-proc Com server?
Posted by John Do at 10/6/2006 1:50:02 PM
I have a large program written in C#.
I would like unmanaged C++ or VB applications to access my C# executable as
an out-of-proc Com object.
I have found huge amounts of information about using C# code as an in-proc
com object, but I have found no examples of accessing a C# executable as ... more >>
run time error 424 - calling C# from vb6
Posted by Jrax at 10/6/2006 12:15:01 PM
Hi,
Does anyone know why this error occurs?
I have the following class structure
abstract class x
public class a : x
class a is decorated w/the following com attribures
[ComVisible( true )]
[GuidAttribute( "66B90148-7FDD-47b3-9668-D2A1BF37B4B2")]
[ProgId( "Starkey.Manufacturin... more >>
Bi-Directional Communication from MFC to Managed Com
Posted by Larry at 10/6/2006 11:28:02 AM
I have an old MFC application that I'm now compiling in .net and have a C#
COM DLL, with a window interface, that I'm accessing with out any problems.
However, how do I get the COM DLL to be able to call back to the MFC
application? I have been looking for an example and I have found nothin... more >>
COM interop
Posted by Ade at 10/6/2006 6:48:03 AM
I have a .net class that displays a .net form (1), when the user clicks a
button on the form (1) an event is fired that is captured by a wrapping COM
dll. The COM DLL instantiates another COM Class that shows a form (2). The
wrapping COM object is written in VB classic and the called COM object... more >>
problem using SQL Server 2005 database from C# application through ATL COM dll....
Posted by Asko Telinen at 10/6/2006 12:36:29 AM
Hi all.
I don´t know if it is right group but maybe you guys be able to show me
a right direction. And im sorry, if i crossposted this message to
several groups.
Ok ,the problem is following:
We have a large ATL COM dll, which is used as common interface for our
database and it is u... more >>
How to Interop between .NET (VSTO) and COM
Posted by Tk_Neo at 10/5/2006 7:29:02 AM
Hi,
I will explain my problem in brief. I am creating a VSTO app. There is more
than one thread in the app that tries to write to the Excel COM object i
have. Now Office COM is STA and can handle one thread at a time. So if the
user is already editing some cell, my background worker thread ... more >>
Question about debugging Win32 API DLLs w/ VS2005
Posted by ks at 10/4/2006 2:46:47 PM
Hi all,
I don't have a world of experience w/ Win32 nor consuming unmanaged
code from within my C# work. Recently, I've been trying to figure out
where inside a win32 dll my PInvoke function call is getting short
circuited and returned. I have access to private and public symbols for
this par... more >>
the VB.NET equivalent to CreateObject
Posted by Jim Davis at 10/4/2006 2:01:52 PM
I need to create an instance of an object using a DLL that was provided
to me by a vendor. Using either classic ASP or VBScript, I can create
an instance of the object, set properties on it, and invoke methods.
It all works great. But what I need is to use this object from an
ASP.NET page, not... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Pass a GUID from a ComInterop dll to a vb6 application
Posted by Nick T at 10/3/2006 9:26:02 AM
is there a way to pass a GUID from a .NET ComInterop dll to a vb6 application?
Thanks
--
Regards
Nick T... more >>
iterop between unmanged C++ and C# code
Posted by B. at 10/2/2006 5:20:02 PM
We have a legacy product written in unmanged C++, we are moving the
C#.NET in steps, means we will have some code in unmanged C++ and some
C#.NET. Our unmanged C++ code need to call C# code and vice versa. What
will be the properly interop methods we should use and how can we use
them (we do n... more >>
Books recommendation
Posted by mtv at 10/2/2006 2:02:01 PM
Would someone know and recommend good books about integration/interop between
managed code and unmanaged code? Particularly b/t .Net C#/VB.Net and
unmanaged C/C++.
Thanks.
--
Your 2 cents are worth $milion$. Thanks.... more >>
mscoree.dll creating new appdomain with local configuration
Posted by Calinga at 10/2/2006 7:45:02 AM
Hello all together
I am creating a managed plug-in for a com based host application. For the
host application to find the new plug-in, I have to write some bits into the
registry.
The goal is to keep changes to the host application to a minimum (no touch,
it is a third party). I can do ... more >>
Passing COM interface pointer from unmanaged(c++) to managed(c#)
Posted by Miikka Laakso at 10/2/2006 5:55:01 AM
How to properly pass COM interface pointer from the c++ com object to the c#
com object as function parameter.
I have following C# COM interfaces:
public interface ICommunication
{
void Communicate(int);
}
public interface IServer
{
void SetCommunication( ICommunication oCommunic... more >>
|