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