Generating the usbfx2lk.bmf file

I am trying to compile the usbfx2lk driver and need the generated usbfx2lk_mofdata.h and usbfx2lk.vbs files. Essentially, from what I saw in the “makefile.inc” file, I have to issue the wmimofck command:

wmimofck -husbfx2lk_mofdata.h -tusbfx2lk.vbs -xusbfx2lk.dat $(O)\usbfx2lk.bmf

However, I don’t have the usbfx2lk.bmf and from what I understand it is created using “mofcomp” on the “usbfx2lk.mof” file. However, when I do this, I get an error:

Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: usbfx2lk.mof
MOF file has been successfully parsed
Storing data in the repository…
An error occurred while creating object 1 defined on lines 104 - 154:
0X80041002 Class, instance, or property ‘Win32_PerfRawData’ was not found.
Compiler returned error 0x80041001

Are there instructions on how to compile the usbfx2lk driver? I was able to build the test programs but I am having trouble building the driver.

Thanks.

Is this your first time here? “I am trying to compile” is useless
information. How? What? When? Where? Describe how your are doing it
wrong by giving a detailed description. It would also be nice to know which
version of the DDK/WDK you are using without having to see which mofcomp is
the same version as you displayed. It is the 6001.18000 version of
mofcomp.exe but anyone offering to help should not have to search for it.

wrote in message news:xxxxx@ntdev…
>I am trying to compile the usbfx2lk driver and need the generated
>usbfx2lk_mofdata.h and usbfx2lk.vbs files. Essentially, from what I saw in
>the “makefile.inc” file, I have to issue the wmimofck command:
>
> wmimofck -husbfx2lk_mofdata.h -tusbfx2lk.vbs -xusbfx2lk.dat
> $(O)\usbfx2lk.bmf
>
> However, I don’t have the usbfx2lk.bmf and from what I understand it is
> created using “mofcomp” on the “usbfx2lk.mof” file. However, when I do
> this, I get an error:
>
> Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
> Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
> Parsing MOF file: usbfx2lk.mof
> MOF file has been successfully parsed
> Storing data in the repository…
> An error occurred while creating object 1 defined on lines 104 - 154:
> 0X80041002 Class, instance, or property ‘Win32_PerfRawData’ was not found.
> Compiler returned error 0x80041001
>
> Are there instructions on how to compile the usbfx2lk driver? I was able
> to build the test programs but I am having trouble building the driver.
>
> Thanks.
>

I figured out what I was doing wrong. Thanks!