interop
How to manage .Net's RCW COM object creation paramets (namely requested interface)?
I\'m using an external native COM component in my C# .NET application. This COM DLL doesn\'t have a type library, so I had to write the interop code myself, and having include/idl files I did it like[详细]
2023-04-05 12:33 分类:问答How can I write a signature on C# for a wrapped C++ method having a pointer to a function it its arguments?
I\'m writing a wrapper for a dll. The dll has a method whose signature resembles the following: unsigned long aMethod(void *anyParameter,[详细]
2023-04-04 12:25 分类:问答Marshalling an array of structs to a pointer in C#
I am trying to call an unmanaged function that looks like this (DATA is my C# struct): [DllImport(\"data.dll\")][详细]
2023-04-04 07:22 分类:问答Calling a C# library from python
Anyone can share a working example on how to call a simple C# library (actually its WPF) from python code? (I have tried using IronPython and had too much trouble with unsupportedCPython library my py[详细]
2023-04-04 01:43 分类:问答Java and .NET application interoperability
I am having a Java application and a .NET application both residing in two different machines and need to design a communication layer between these two applications. Any inputs or ideas would be real[详细]
2023-04-04 01:05 分类:问答Adding WPF Windows to an XNA Game Project
I\'m creating an experimental game (which would eventually become a map editor for a game) and I\'d like to include a WPF window in the same project which would communicate with the game logic. This i[详细]
2023-04-03 22:01 分类:问答Updated Excel Cell value by Name Reference in C#
I have a named cell in excel lets say its called \"myCell\" In C# I wish to be able to access this cell and update its value.[详细]
2023-04-03 16:50 分类:问答Excel formula lost after reassigning the cell value
Here is the sample code XL.Worksheet worksheet = Globals.ThisAddIn.Application.ActiveSheet; XL.Range range = worksheet.UsedRange;[详细]
2023-04-02 19:26 分类:问答Safety of passing HBITMAP handle from unmanaged to managed code for created a System.Drawing.Bitmap
I\'m pretty new to managed/unmanaged interop, so I\'m looking to get some opinions on how safe the following procedure is for getting a bitmap from unmanaged C++ to managed C#. The basic idea is:[详细]
2023-04-02 15:49 分类:问答Mechanism to obtain method caller
My principal problem is how to find out whitch object t开发者_StackOverflow社区ype called specific method.[详细]
2023-04-01 22:31 分类:问答