Pass pointer parameter to axtiveX.

  • Thread starter Thread starter Laszlo Fust
  • Start date Start date
L

Laszlo Fust

Hello!

I have a problem with C#.
I have a method in an activeX:

func(long FAR* pRes, long lBufSize, long FAR* lpNeeded)

This activeX have written in VC 6.
I should call this method in a C# application, but I don't know
the type of the first parameter. I tried many ways, but I always
get StackOverflowException error.
Can anyone helps me?

Thanks,
Laszlo
 
Laszlo,

What is the managed type representation in .NET? It should be something
like this:

func(ref int pRes, int lBufSize, ref int lpNeeded)

What do you have?
 
Back
Top