Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从 ruby win32ole gem 访问方法和属性似乎很容易,但是当我必须更具体地设置枚举时该怎么办,我试图设置由为 VCProjectEngine 定义的 warningLevelOption 定义的值之一,但似乎 没有 任何效果。通过 win32ole 访问的所有对象都不会识别此枚举,并且设置整数值会导致 Visual Studio 中的异常
我怎样才能设置这个值?