Redigera

Dela via


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.

Topic Description
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

 

pragma namespace

Compiling Localized MOF Files

Registering a Provider