Top "Interop" questions

Interoperability is a requirement for one computer system or programming language to work with another.

Using SetWindowPos in C# to move windows around

I have the code below: namespace WindowMover { using System.Windows.Forms; static class Logic { [DllImport("user32.dll", EntryPoint = "SetWindowPos")] public …

c# windows interop
COM object that has been separated from its underlying RCW cannot be used

I am trying to use the OpcRcw.da.dll. If I interop this dll inside a test console project everything …

interop
Use a .jar java library API in C#?

I'm an entry level programmer so please be descriptive in your responses. I am trying to use a Java API …

java c# .net interop
Disposing of Microsoft.Office.Interop.Word.Application

(Somewhat of a follow on from the post (which remains unanswered): https://stackoverflow.com/q/6197829/314661) Using the following code Application …

c# interop automation office-interop
Marshal C++ struct array into C#

I have the following struct in C++: #define MAXCHARS 15 typedef struct { char data[MAXCHARS]; int prob[MAXCHARS]; } LPRData; And a …

c# c++ interop struct marshalling
How to create an instance of Excel if Excel is not installed

In my C# app, with the help of Excel Interop dll (as reference) i am reading/writing excel files. If …

c# excel interop comexception
How do you call Python code from C code?

I want to extend a large C project with some new functionality, but I really want to write it in …

python c interop cross-domain
A Simple C# DLL - how do I call it from Excel, Access, VBA, VB6?

I have a simple class library written in c#. using System; namespace TestDll { public class Test { public string HelloWorld { get { …

c# excel dll vb6 interop
Using a C++ class member function as a C callback function

I have a C library that needs a callback function to be registered to customize some processing. Type of the …

c++ c interop callback
Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX) for System.Runtime.InteropServices.COMException

I have a part of code which tries to export data (from database) to Excel. When I am trying to …

c# .net excel interop excel-interop