Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP WMI

Notices

Reply

WMI Methods on several PC

 

LinkBack Thread Tools Display Modes
Old 04-10-2008, 08:47 AM   #1 (permalink)
Default WMI Methods on several PC

Hello,

I try in my application to execute WMI Methods, for example to
Terminate Internet Explorer processes.
The problem is that if I put some Release() to IWbemLocator and
IWbemService at the end of my program, when I run it again Release
function crash it.

I have a class that list instances then I send all to another class
that deals with Wmi Method. And that crash also my first class for WMI
operations and CoCreateInstance fails.

It's a big problem for me.
I need help.

Thanks in advance.
LChambers
Guest
 
Posts: n/a
Reply With Quote  
Old 06-05-2008, 09:08 PM   #2 (permalink)
Default RE: WMI Methods on several PC



"LChambers" wrote:
Quote:
> Hello,
>
> I try in my application to execute WMI Methods, for example to
> Terminate Internet Explorer processes.
> The problem is that if I put some Release() to IWbemLocator and
> IWbemService at the end of my program, when I run it again Release
> function crash it.
>
> I have a class that list instances then I send all to another class
> that deals with Wmi Method. And that crash also my first class for WMI
> operations and CoCreateInstance fails.
>
> It's a big problem for me.
> I need help.
>
> Thanks in advance.
>
WMIC /node:"PCName" PROCESS WHERE Name="iexplore.exe" CALL Terminate
Vlad
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
WMI Registry Methods from StdRegProv LChambers Windows XP WMI 0 02-25-2008 11:48 AM
An interface has too many methods to fire events from Windows XP Movie Maker 5 02-01-2007 02:49 AM
MM2: an interface has too many methods to fire events from Jens Windows XP Video 1 04-19-2004 05:52 PM
interface methods? Hseemoore Windows XP Movie Maker 1 12-09-2003 02:32 PM
interface has too many methods john Windows XP Movie Maker 1 10-07-2003 08:18 PM


All times are GMT. The time now is 07:18 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90