Search:

Type: Posts; User: sistem

Search: Search took 0.01 seconds.

  1. Replies
    25
    Views
    22,438

    I created project Win32 Application and use this...

    I created project Win32 Application and use this is function that help me to archive my goal



    DWORD RunSilent(char* strFunct, char* strstrParams)
    {
    STARTUPINFO StartupInfo;...
  2. Replies
    25
    Views
    22,438

    Many thanks you all helped me on this thread...

    Many thanks you all helped me on this thread
    Everything seem that is difficulty

    Let me describe again
    Assume you create new Win32 Application project with select "a typical Hello Word !...
  3. Replies
    25
    Views
    22,438

    I tried your code and run well, get all PATH and...

    I tried your code and run well, get all PATH and my project location

    I recognised that when i create my project with "Win32 Console Application" very thing as good, fp = _popen("java -version...
  4. Replies
    25
    Views
    22,438

    Checked, do not warning or error when compile ...

    Checked, do not warning or error when compile

    but make in debug mode fp # null
    make in release mode fp always = null

    below is all my example



    #include <stdio.h>
  5. Replies
    25
    Views
    22,438

    let me correct code after, thanks many I found...

    let me correct code after, thanks many

    I found root cause.

    If I set "Set Active Configuration" to Debug in menu Build, this case do not error. fp # null,
    If I set "Set Active Configuration"...
  6. Replies
    25
    Views
    22,438

    Yes, I used popen(). But there is problem, i...

    Yes, I used popen(). But there is problem, i don't know why ?

    I create new project use Microsoft VC++, create class Example.c



    #include <stdlib.h>
    #include <stdio.h>
    main(){
  7. Replies
    25
    Views
    22,438

    execvp(), can run all OS (Windows, Linux, Mac,...

    execvp(), can run all OS (Windows, Linux, Mac, Vista) ?
  8. Replies
    25
    Views
    22,438

    thanks you so much, I did as you and run ok on...

    thanks you so much, I did as you and run ok on Windows

    If i use _popen("java -version 2>&1", "r"); in my code and I build this code to abc.sh

    Can this file run well on linux & mac OS ?

    thanks
  9. Replies
    25
    Views
    22,438

    Could you please help me to put java -version...

    Could you please help me to put java -version command to a string ?
  10. Replies
    25
    Views
    22,438

    Thanks you very much, please help me one...

    Thanks you very much,

    please help me one again

    When I use

    #include <stdio.h>


    main()
  11. Replies
    25
    Views
    22,438

    If i use _popen and _pclose then this code can...

    If i use _popen and _pclose then this code can run on unix ?
  12. Replies
    25
    Views
    22,438

    Can not use popen()

    Hi, all
    I try this code, but can not compile and debug



    #include <stdio.h>

    main()
    {
    FILE *fp;
Results 1 to 12 of 12