Problem : I need to integrate some legacy 32-bit code – for which I don’t have the source code, into […]
Tag: interop
Is it possible to expose a C# Enum to COM Interop callers, and if so, how?
Problem : I have a managed assembly that gets called via COM Interop. Like a VBScript client, a Perl client, […]
Reg Free Com with VB6 on Windows 7
Problem : I have some .NET code I use from VB6 code. I have always developed this on an XP […]
How to unregister my .net assembly when it’s no longer in the same location?
Problem : I have a dll that’s registered for com interop, so under HKLMSoftwareClassesCLSID[my guid]InprocServer32[my version no]Codebase it has the […]
Wrapping up a C++ API in Java or .NET
Problem : Has anyone successfully “wrapped up” a C++ API in Java or .NET? I have an application that provides […]
GAC – Assembly is in the GAC but “Could not load file or assembly”
Problem : I have an Interop dll that was generated by Visual Studio for a third-party COM object that I […]
Python for .NET “unable to find assembly” error
Problem : I’m using CPython and I have a C# dll. I’m trying to use Python for .NET to make […]
How to specify format for individual cells with Excel.Range.set_Value()
Problem : When I write a whole table into an excel worksheet, I know to work with a whole Range […]
How to marshal a variable sized array of structs? C# and C++ interop help
Problem : I have the following C++ structs struct InnerStruct { int A; int B; }; struct OuterStruct { int […]
Pinning Array of .NET objects
Problem : I would like to pin an array of .NET objects (including the objects) in order to allow a […]