![]() |
| |||||||
| Notices |
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Hi all, I have created a WMI AntiVirus instance provider using VC++ and ATL WMI wizard. It compiled successfully including the .mof file, and the .dll file is registered. Then i run wbemtest.exe or WMI CIM Studio, both can't see this WMI provider at all. In Wbemtest.exe, I EnumInstance "AntiVirusProduct", but I can't see the WMI provider i created. Does anyone have any advice? Thanks a lot! Best regards, talpey | Guest
Posts: n/a
|
|
| | #2 (permalink) | |
| Did you create an instance of __Win32Provider in the applicable namespace? Usually this is done within your mof file. Here is the example for the cimwin32 provider in the root\cimv2 namespace. instance of __Win32Provider { CLSID = "{d63a5850-8f16-11cf-9f47-00aa00bf345c}"; HostingModel = "NetworkServiceHost"; ImpersonationLevel = 1; Name = "CIMWin32"; PerUserInitialization = FALSE; }; Note that if you do have it in your mof file - it may be located in something like root\default namespace or something, you would want to use a #pragma directive to post it to another namespace. -- Scott McNairy Microsoft MVP - Windows Server Management Infrastructure "talpey" <talpey@discussions.microsoft.com> wrote in message news:B517DFB5-77F7-4DF8-9952-4593058DB527@microsoft.com... Quote:
| Guest
Posts: n/a
| |
|
![]() |
| Tags |
| None |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please make the CTRL button work with Explorer navigation | Josh | Windows Vista File Management | 0 | 09-15-2006 04:30 AM |
| I can't make test signed drivers work in 64-bit Vista | Ladislav Zezula | Windows Vista Security | 0 | 07-11-2006 11:58 AM |
| How to get the WMI instance defination | Stross S. Dist | Windows XP WMI | 1 | 03-29-2005 03:29 AM |
| Instance | Rully Kusuma | Windows XP WMI | 3 | 08-26-2004 06:42 PM |
| Instance Provider | Mateus Baur | Windows XP WMI | 1 | 08-24-2004 08:10 PM |