hello there,
i am looking into polling the cpu load percentage fora durational period. So for example 5 mins i want to log the load percentage to check if it exceeds a certain amount - say 50%, i...
Type: Posts; User: ashaikh432
hello there,
i am looking into polling the cpu load percentage fora durational period. So for example 5 mins i want to log the load percentage to check if it exceeds a certain amount - say 50%, i...
Hi there,
i am searching for a way to find the overall cpu percentage (not per process percentage) within windows, is there a wmi or equivalent call to do this?
br
hello there, thanks for your reply, i have done what you said and it works, i jsut have one question.
in unix you do a regcomp before doing a regexec, but it seems as though the equivalent on...
Hello guys,
is there a standard library in VS for using regular expressions?i know unix has regexec, i am trying to find something which is as close to this as possible
thanks
Are you sure? It looks like C++ to me....
ok ok i understand the joke. The thread is similar but not the same question as the previous thread. Do you think this is the best approach to go by with what i want?
Hello guys,
i know some might complain this should be in the C# section but i wrote it in C++ and also there seems to be more support going on in the C++ section.
I have written some code to...
Hi there,
i tried that already but purifier does not display any results at all, i am using visual studio 2008 btw. I am using IBM rational purifyplus. Has anyone else managed to purify the code in...
also i have noticed when one of the event handlers are invoked the process size gets larger.... (this is the example code on the msdn site i am running)
br
Hi guys, has anyone tried to purify filesystemwatcher code? I changed the common language runtime support to clr, but when running this i got a whole bunch of errors such as :
Purify: While...
Hello guys,
I need to monitor multiple files in different directories eg C:\logmo C:\mon C:\Program
The number of directories can be pretty large, can anyone recommend the best approach of doing...
i am telling you its C++!
FileSystemWatcher Class (System.IO)
btw it is C++ not C#
thanks alot guys got it working, give me a shout if you guys want to see how i did it (nothing that great anyway).
How on earth do i extract the FileSystemWatcher from the object? :S
static void fileRenamed( Object^ obj, RenamedEventArgs^ e )
{
obj-> <<<<< i cant see the reference from here........
hi guys, here is what i have done so far:
i am using the filesystemwatcher function, the callback functions (or event handlers are static as so:
static void OnChanged(Object* /*source*/,...
Hello there,
i am forced to use a static function, unfortunately this means i cant call the variables which belong to this class from this function, what si the best way i can overcome this? The...
i am a C++ guy not a C# person ;)
i am afraid i can not avoid it, i am using FileWatch which forces me to use this, which is why i really need to find a way to convet a ^String into a string or char * type
br
so how would i convert a ^String to a regular string?
hello there,
I have run into a problem, i have set up a FileSystemWatcher to monitor if a file is deleted. All is good up to there. But because the handlers for the event have to be static functions...
Hi guys,
i have recently stumbeled accross this array<String^>^args, what on earth is a String ^ ? i tried looking for documentation on this but found nothing
br
Hello there,
i wish to have an event handler, so that every time a file i am monitoring is updated, the handler is invoked as opposed to just polling every so often to see if the file has been...
hi there,
I am using rational purifyplus,
i am using S" 2008 version 9.0.21022.8,
br
Hello there,
i am currently using visual studio 2008, i wish to purify some code i wrote, how do i get purifier to link my code after building it on VS?
any help you can give would greatly be...