Passer au contenu principal Passer au pied de page

Desikd .net [new] -

The most practical way to understand DESCKIND is to see it in action. Let's walk through a complete code example that demonstrates how to manually use DESCKIND to perform a late-bound lookup on a COM object.

Look at the local variables during execution. Often, the "expected" string is generated in memory just before the comparison. DESIKD .NET

// Call the Bind method. It will fill the bindPtr and dwDescKind. // The IntPtr.Zero is for the binder flags. typeComp.Bind(name, 0, 0, out IntPtr bindPtr, out DESCKIND dwDescKind); The most practical way to understand DESCKIND is