dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: carre

Search: Search took 0.01 seconds.

  1. Re: Synchronization between process execution and the output of this process

    Hi Victor,

    yes, i must wait on the end of the process, otherwise the output from the process is not complete. with


    auto wait_state = WaitForSingleObject(pi_proc_info.hProcess, INFINITE);
    ...
  2. Synchronization between process execution and the output of this process

    Hi,

    I'm having trouble on synchronization between the CreateProcess output and reading of the redirected pipe.

    The problem is, I do not know after the WaitForSingleObject (in the while loop)...
  3. Replies
    5
    Views
    444

    Re: WMI VARIANT read CimType = Object

    Hi Arjay,

    thanks for your tip, here is the example (mainly from MS sides + your recommendation from your post):


    #define _WIN32_DCOM
    #include <iostream>
    #include <wbemidl.h>
    #include...
  4. Replies
    5
    Views
    444

    Re: WMI VARIANT read CimType = Object

    Hi Victor,

    my problem is, i know from (https://docs.microsoft.com/en-us/previous-versions/windows/desktop/vdswmi/defraganalysis-method-in-class-win32-volume) the DefragAnalysis method returns...
  5. Replies
    5
    Views
    444

    WMI VARIANT read CimType = Object

    Hi,

    i want to read from a VARIANT (CimType = Object) the properties

    namespace ROOT\CIMV2
    class Win32_Volume
    methode : DefragAnalysis
  6. Re: get a list of files from a specific windows directory

    Great that was the last piece of the puzzle - thank you for the great help!
  7. Re: get a list of files from a specific windows directory

    Hi,

    now i have try it out - but with the same result or i have something missunderstood from this side (See https://docs.microsoft.com/en-us/win...ore-privileges)


    #include "pch.h"
    #include...
  8. [RESOLVED] Re: get a list of files from a specific windows directory

    Thanks for the fast help!
  9. [RESOLVED] get a list of files from a specific windows directory

    Hi,

    i want to have a file list from a specific Windows directory ("C:\Windows\System32\WDI"). I tried it with fs :: directory_iterator, findfirstFile and CFileFind. I always get...
  10. Replies
    4
    Views
    747

    Re: Netbios hostname (via IP)

    Thanks for the answers. I found a solution via socket.
  11. Replies
    4
    Views
    747

    Netbios hostname (via IP)

    Hi,

    i'm looking for a function / method to get the Netbios name from every device in my network. In the most examples, or what I found, it's just the DNS hostname. In the example via...
Results 1 to 11 of 11


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)