Groups | Blog | Home


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 > march 2008 > threads for march 8 - 14, 2008

Filter by week: 1 2 3 4 5

Overloading in ActiveX
Posted by Maris Janis Vasilevskis at 3/14/2008 9:23:13 AM
Hi, I create ActiveX dll in C# (VS 2005) as following: [ClassInterface(ClassInterfaceType.AutoDual)] public class MyClass { public void MyMethod(string arg1) {...} public void MyMethod(string arg1, string arg2) {...} } I regasm it and try to call in IE7 JScript: function Test()...more >>


C#: how to define C++ struct containing array
Posted by Polaris at 3/13/2008 8:18:02 PM
Hello InterOp Experts: In my C# program I need to use a Win32 DLL which leads to a question: how to define Win32/C++ struct containing an array in C#. For example, I have a C++ struct: struct MY_STRUCT { int nCities[128]; }; How to define it in C#? Thanks in advance! Polaris...more >>

Implementing Unmanaged Interface in C#
Posted by Saad at 3/12/2008 11:38:25 PM
Hi, I have an unmanged interface which i have exposed through COM to C#. I have been able to implement the interface in one of the C# classes (say Class1) as well. But now what i want to do is that i need to pass the reference of the object of Class1 to this COM wrapper...and then from insi...more >>

Passing a simple structure from VB6 to VB.Net
Posted by Bully at 3/11/2008 9:09:27 PM
Hi I have created a simple COM Class in VB.Net containing a simple structure and function: Public Structure MyStruct Dim Param1 As Byte End Structure Public Function ShowStruct(ByRef MyPassedStruct As MyStruct) ' Do nothing End Function In VB6, I want to call the...more >>

New/Delete
Posted by JB at 3/11/2008 9:59:09 AM
This is a vb.net, COM control interop question. I am creating a COM control using the New operator m_ctrl = New MyComCtrl ( use the automation interface for awhile, handle events, etc) The question is how to delete the control now that I am finished with it. Is there some ...more >>

Unmanaged C Structure-embedded arrays, structure pointers
Posted by ToyTrains at 3/10/2008 6:20:00 AM
I am trying to write a wrapper around a C DLL that makes use of a very large complex C data structure for all data exchange between the caller and DLL. The data structure is allocated/deallocated during various calls to functions in the C DLL. The data structure contains pointers to other stru...more >>

Migrating one VB6 COM+ component to .NET
Posted by kkarre at 3/10/2008 4:56:05 AM
Hi, We must do a step-by-step migration of our COM+ applications. I have 1 One migrated component, now .NET with strong name - 1_NET.dll 2 Two COM components (referenced by 1_NET.dll, where the Interop assemblies also got strong names - Interop.2a.dll / Interop2b.dll) 3 1_NET.dll is install...more >>



DevelopmentNow Blog