I have an ActiveX library that was built using C++ with the following method:

Public Overridable Function ReadFFT(ByRef pArray As Integer, ByVal wCount As 
Short) As Short

I can dissemble the Interop files created and the declaration is 
ReadFFT(int32&, int16)

I assumed you could write the following and it would work:

dim ar(2047) as int32
myActiveXLib.ReadFFT(ar(0),arr.length)

But the CLR croaks with some cryptic messages about MDR


How do you marshal this into the unmanaged ActiveX world?


Jeff K. Steinkamp N7YG
Tucson, AZ
SCUD Missile Coordinates:
N032-13-55.02 W110-55-52.79
Registered Linux User: 420428
------------------------------------------------------

Orville Bullitt - Mouth is in gear, brain is in neutral.

Reply via email to