Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
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 >>



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 >>


DevelopmentNow Blog