Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
432 views

Marshalling a System.IO.Stream object in c# COM interface

I have a function in my c# COM interface which returns a System.IO.Stream object: Stream GetFile(); I intend to use this COM interface within unmanaged c++ code, and call this function from there, ...
Nautilus's user avatar
1 vote
1 answer
801 views

Passing pointer from managed C++/CLI to ActiveX C++ component

I have an ActiveX component built in C++. One of its methods has this signature: short Component::Method(short FAR* ptr) {} When the I add the ActiveX into my C++/CLI application the method ...
X5X's user avatar
  • 21
2 votes
3 answers
3k views

How do I marshal a C# string array to a VB6 array?

I have a VB6 app that uses a C# COM DLL. In managed C++ I can write a function as follows: array<String^>^ GetAManagedArray() { //Do stuff and return a managed array } I can then assign ...
Mike Webb's user avatar
  • 8,993