Questions tagged [interop]

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

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

A number of computer systems, especially Microsoft's .NET Framework, reduce this term to Interop.

5732 questions
3
votes
2 answers

Calling Mono Assemblies from Java

I have a large text proofing framework written in C# and I want to write a OpenOffice extension that uses this set of libraries. My prefered language for doing so is Java. Hence, I need a method to access .NET assemblies from Java (both in Windows…
3
votes
1 answer

Word 2010 Interop: Change the name of the default document

I need to be able to change the name of the default document from Document1 to Report when a Word document is started from my application. The problem is that the name property in the Document object is read only. Any idea on a method I can call…
Blade3
  • 4,140
  • 13
  • 41
  • 57
3
votes
1 answer

Need of ClassInterfaceType.None?

Didn't quite get the following from MSDN: ClassInterfaceType.None Indicates that no class interface is generated for the class. If no interfaces are implemented explicitly, the class can only provide late-bound access through the…
softwarematter
  • 28,015
  • 64
  • 169
  • 263
3
votes
1 answer

How to expose C# Tuples to C++

I'm a C++ developer who is currently writing a library in C# which has to be exposed to C++. As of now I'm using Tuples in C# to get a list of Pair of strings, which is described in the following structure. public struct ProductInfo { string…
Hari
  • 146
  • 1
  • 5
3
votes
5 answers

J++ to Java: how to migrate from RNI to JNI?

I've inherited a legacy J++ project. I've upgraded this project to standard Sun Java successfully. However, this project includes a native C++ dll which the Java code talks to via the Microsoft-specific RNI framework. Needless to say, calling…
Judah Gabriel Himango
  • 58,906
  • 38
  • 158
  • 212
3
votes
2 answers

(UserControl with SQLite) ---> Failed to create components 'UserControl1', System.DllNotFound Excpetion, Unable to Load Sqlite.interop.dll

I had a user control with Sqlite. After Compiled and Added to the Tool Box, by dragging it into a new Form,an Error Message as described Below: "Failed to Create Component 'UserControl1'. The Error Message follows 'System.DllNotFoundException:…
SimonOngsk
  • 121
  • 1
  • 4
  • 12
3
votes
3 answers

java mixed with clojure in maven and eclipse

i created a sample polyglot program. i have a sensor and a robot implemented in java and AI implemented in clojure. and i can't connect maven properly --src/main/java/clojuretest | …
piotrek
  • 13,982
  • 13
  • 79
  • 165
3
votes
13 answers

So, .NET doesn't have built-in Office functionality?

I always thought it did, though I don't know where I got the idea... I'd always assumed it was easy to treat a spreadsheet as a 2D array for instance, but some searching on SO suggests everyone is using 3rd-party libraries? Or, are all those people…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
3
votes
2 answers

How can I open an Excel file without locking it?

I have a process that builds an Excel report, then opens it for the user. The problem is if someone leaves the file open, it stays locked and nobody else can build the report until the first person exits the excel file. Is there a way to open an…
Rachel
  • 130,264
  • 66
  • 304
  • 490
3
votes
1 answer

Unexplained memory leak with Marshal.StructureToPtr

I'm developing an application which involves native C++ to C# interop via a C++/CLR wrapper. I'm having trouble with the following operation, which causes a memory leak: MyObject data = (MyObject)Marshal.PtrToStructure(ptr,…
Tom Mettam
  • 2,903
  • 1
  • 27
  • 38
3
votes
1 answer

how to move entire existing excel range to one row down using interop in C#

how to move entire existing excel range to one row down using interop in C#? I need to add a header in 1st row of existing excel which has only data.I want to move the entire rangel one setup down programatically in C#. I saw moving a cell stuff,but…
MahaSwetha
  • 1,058
  • 1
  • 12
  • 21
3
votes
3 answers

.Net - Can a Class Library (dll) written in .Net be used by an application written in C or C++?

Let's say I have written a Class Library (dll) in .Net and now I have developers using it in their .Net applications. However, the library itself could probably be useful also for developers writing natively (in C or C++). So my question is if my…
moster67
  • 830
  • 3
  • 12
  • 30
3
votes
1 answer

Powerpoint interop

I'm new to .NET. I want to make a console application that converts a .pptx file into a .wmv.I've managed to do this using powerpoint interop.But i have some problems.First If i build the application and tranfer it to another computer i get an…
Libathos
  • 3,340
  • 5
  • 36
  • 61
3
votes
1 answer

How to load a mixed assembly that is registered in GAC?

I posted this issue on MSDN, but it is a bit of wasting time by communicating to MS support, they only give you one sentence per day without any clue :(, anyway here is my question, appreciate any comments. I am experiencing an assembly loading…
3
votes
1 answer

Protobuf webservice deserialization in vba

In my organisation I would like to implement a rest web service with protobuf serialization that seems to me being the best, due to performance constraints. It is a java implementation hosted in a web server. On client side (that I do not manage and…
Tom-hawak
  • 31
  • 3
1 2 3
99
100