Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiling MOF Files

Compiling MOF Files

The Managed Object Format (MOF) compiler, Mofcomp.exe, parses a file containing MOF statements and adds the classes and class instances defined in the file to the WMI repository.

The following table lists the topics that describe how to use the MOF compiler.

Running the MOF Compiler on a File How to compile MOF code from the command line
Compiling MOF Code with Floating-Point Values Handling floating-point values in MOF code
Handling Errors with the MOF Compiler Dealing with partially compiled MOF files


Related topics

pragma namespace
Compiling Localized MOF Files
Registering a Provider



© 2015 Microsoft