I have the idl of com component, I generate type library using midl and use type library to generate interop dll. I want to create interop dll without any marshalling attribute, for example BSTR should be returned as IntPtr, not as string
after marshalling. I could not find any attirbute in TlbImp to control the marshalling, how can I achieve this requirement?
View Complete Post