Search:

Type: Posts; User: ashaikh432

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,241

    wmi load percentage

    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...
  2. Replies
    1
    Views
    1,644

    windows overall cpu percentage

    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
  3. Replies
    2
    Views
    1,224

    hello there, thanks for your reply, i have done...

    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...
  4. Replies
    2
    Views
    1,224

    regular expression

    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
  5. Are you sure? It looks like C++ to me....

    Are you sure? It looks like C++ to me....
  6. ok ok i understand the joke. The thread is...

    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?
  7. Filesystemwatcher - is this the best approach?

    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...
  8. Replies
    3
    Views
    2,228

    Hi there, i tried that already but purifier does...

    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...
  9. Replies
    3
    Views
    2,228

    also i have noticed when one of the event...

    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
  10. Replies
    3
    Views
    2,228

    purify filesystemwatcher

    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...
  11. Replies
    2
    Views
    3,865

    multiple files using filesystemwatcher

    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...
  12. Replies
    15
    Views
    3,414

    i am telling you its C++! FileSystemWatcher...

    i am telling you its C++!
    FileSystemWatcher Class (System.IO)
  13. Replies
    15
    Views
    3,414

    btw it is C++ not C#

    btw it is C++ not C#
  14. Replies
    15
    Views
    3,414

    thanks alot guys got it working, give me a shout...

    thanks alot guys got it working, give me a shout if you guys want to see how i did it (nothing that great anyway).
  15. Replies
    15
    Views
    3,414

    How on earth do i extract the FileSystemWatcher...

    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........
  16. Replies
    15
    Views
    3,414

    hi guys, here is what i have done so far: i am...

    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*/,...
  17. Replies
    15
    Views
    3,414

    static functions

    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...
  18. Thread: String^

    by ashaikh432
    Replies
    12
    Views
    1,061

    i am a C++ guy not a C# person ;)

    i am a C++ guy not a C# person ;)
  19. Thread: String^

    by ashaikh432
    Replies
    12
    Views
    1,061

    i am afraid i can not avoid it, i am using...

    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
  20. Thread: String^

    by ashaikh432
    Replies
    12
    Views
    1,061

    so how would i convert a ^String to a regular...

    so how would i convert a ^String to a regular string?
  21. Replies
    3
    Views
    1,992

    FileSystemWatcher static functions

    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...
  22. Thread: String^

    by ashaikh432
    Replies
    12
    Views
    1,061

    String^

    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
  23. Replies
    1
    Views
    928

    file handling

    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...
  24. Thread: purify code

    by ashaikh432
    Replies
    3
    Views
    2,342

    hi there, I am using rational purifyplus, i am...

    hi there,
    I am using rational purifyplus,
    i am using S" 2008 version 9.0.21022.8,
    br
  25. Thread: purify code

    by ashaikh432
    Replies
    3
    Views
    2,342

    purify code

    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...
Results 1 to 25 of 32
Page 1 of 2 1 2