- vpi 存根不含类字段(只序列化 class 名 + def 签名),_inject_class_struct_declare 的 field_count 恒为 0 → 注册空类 - 空类在源模块编译时被 find_struct_by_module 命中 → "结构体已注册但字段数为0" InternalCompilerError(win32base.SECURITY_ATTRIBUTES 根因) - field_count==0 时不注册:依赖已编译命中真实类(L1604-1608),未编译走 _deps_pending 多遍收敛