Search code examples
.nettypesarcgisesri

Convert raw bytes to a type in .NET


I have the raw bytes of a COM object (ESRI IPOINT) in a SQL DB. I want to somehow force the casting of it to an IPOINT. I tried IPoint p = object as IPOINT which failed. Is there some hacky way to force raw bytes into an object for which there isn't a converter written?


Solution

  • I guess the appropriate way is to do this is to use a QueryFilter,