Hi HSE
Without seeing the object definition it is a little difficult to say, but assuming a scenario like this:
Object TestMe,, Streamable
Embed TestObj, Primer
ObjectEnd
You can access the embedded object this way
assume xsi:$ObjPtr(Primer) <-- object type
DbgHex [xsi].dErrorCode
If I'm wrong, please send me the file...
Side note: check the return value of StrICompA, it is always a DWORD.
Regards, Biterider