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

learn more… | top users | synonyms (1)

0
votes
0answers
12 views

Changing GUID change program behaviour

I'm currently working on creating a namespace extension. So I want to create an entry in Computer, and had explorer.exe calling my IShellFolder implementation. I had it working for few minutes (I ...
2
votes
1answer
63 views

How to implicitly cast this?

I'm trying to create some wrapper classes around some native DLL structs. Here's what I've got: public class Event // <-- managed class { internal SDL_Event _event; public EventType Type ...
0
votes
2answers
34 views

c# - Setting current window as the foreground window

How can we set the currently opened window an application as the foreground window? This scenario may be valid if, for example, you have to show the user another application until a condition is met, ...
0
votes
2answers
40 views

Hide Excel 2013 while programmatic change a workbook

A really good new feature of Excel 2013 is that it cannot forced to show more than one Excel workbook in one application. This seems the cause of my Problem: If I open an Excel workbook ...
-1
votes
1answer
20 views

Socket programming in language interoperability [on hold]

I was wondering whether different (high/mid level) languages (c/c++/java/c#) supporting basic networking features like sockets, can work/communicate together on different platforms? Are there any ...
0
votes
0answers
16 views

DropShadow for WPF Borderless Window with win32 control hosted

this issue is related to another post here But if I have a win32 control hosted in WPF widnow, it mixed up with the glass effect, anyone have any ideas? Sample code here: Sample.zip
1
vote
4answers
68 views

The file name or path doesn't exist or used by other program while writing Excel file [duplicate]

I am trying to create an Excel file and write some data to it. Here is the code I am using. using excel = Microsoft.Office.Interop.Excel; excel.Application xlapp; excel.Workbook xlworkbook; ...
2
votes
2answers
39 views

Using a DLL written in/for C++ in a C# program

I'm writing a program for my college's chemistry department, incorporating three separate devices - a force sensor, a Z-axis nanopositioner stage, and a XYZ axis picomotor stage. I have to incorporate ...
0
votes
0answers
16 views

Interop Issue with WPF: Input Controls, Elementhost, etc

Preface My issue is almost the same as stated in another StackOverflow Question. In my case the "workaround" would be quite a lot of work (would have to write a whole toolkit of wpf controls) and I ...
2
votes
4answers
35 views

If I allocate some memory with AllocHGlobal, do I have to free it with FreeHGlobal?

I wrote a helper method, internal static IntPtr StructToPtr(object obj) { var ptr = Marshal.AllocHGlobal(Marshal.SizeOf(obj)); Marshal.StructureToPtr(obj, ptr, false); return ptr; } ...
0
votes
1answer
34 views

How to get an IntPtr to a struct?

I've got a method with the signature public int Copy(Texture texture, Rect? srcrect, Rect? dstrect) Rect is a struct, but I need to allow the caller to pass null (or IntPtr.Zero) to the method as ...
0
votes
1answer
14 views

Unable to gracefully abort on unknown password via Microsoft.Office.Interop.PowerPoint?

Trying to use Microsoft.Office.Interop.PowerPoint to open PPT files and save as PDF (or other file types) for large batch jobs. Works great with files that have no password. With files that have a ...
-1
votes
0answers
21 views

registering modified interop dll [on hold]

I have a .net framework 2.0 windows application to which had to contact a com object (3rd party dll). Hence, the project was referring to a interop dll which was a wrapper around the com object. The ...
1
vote
1answer
37 views

How to handle a method that returns a pointer to a struct?

I'm trying to write a wrapper around a method with this signature: [DllImport("SDL2.dll", CallingConvention = CallingConvention.Cdecl)] internal static extern unsafe Window* SDL_CreateWindow(string ...
1
vote
2answers
45 views

Exception for powerpoint Interop while reading slides

I have a block of code which reads powerpoint slides and creates xml for them.Everything is working fine on my local machine.but on server,when second slide is read.I Get the exception: EXCEPTION:The ...

1 2 3 4 5 217
15 30 50 per page