Open array declaration lost when regenerating interop.dll with tlbimp.exe from type-lib
问题 I need to regenerate the interop.dll from a type-library. Therefore I fired up TlbImp.exe" foo.tlb /out:interop.dll But in contrast to the original interop.dll , I found out with the object browser (see below) void SetNodeArr(int Size, FOO_NODE[] pArray) // original interop.dll that the open array for the method-parameter for SetNodeArr is lost: void SetNodeArr(int Size, ref FOO_NODE pArray) // regenrated interop.dll I've tried some of the options of TlbImp.exe, but with no luck. Q What tweak