Retrieving ITypeInfo for late-bound objects. [SR:1-1684077108]

I am having trouble retrieving ITypeInfo with the intention of getting the Type's members w/o using the Interop assemblies.

See attached.

Solved by SW:

            Assembly asm = typeof(SolidWorks.Interop.sldworks.SldWorksClass).Assembly;

            IntPtr ukwn = Marshal.GetIUnknownForObject(comObject);

            foreach (Type t in asm.GetTypes())

            {

                Guid gid = t.GUID;

                if (t.IsInterface & gid != Guid.Empty)

                {

                    IntPtr oPtr = IntPtr.Zero;

                    Marshal.QueryInterface(ukwn, ref gid, out oPtr);

                    if (oPtr != IntPtr.Zero)

                         return t;

                }

            }

            return null;

SolidworksApi macros