Probably way too complicated for me.

This is a discussion on Probably way too complicated for me. within the Windows Programming forums, part of the Platform Specific Boards category; Hi. Not really sure if this should be on the Windows Programming board or Networking/Device Comunication board, but as I ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    183

    Probably way too complicated for me.

    Hi.

    Not really sure if this should be on the Windows Programming board or Networking/Device Comunication board, but as I know the program will use windows.h , I put it here.

    Anyway, I know I'm way over my head here, but is there a way to run programs that are stored on one systems hard drive, when a program is run on another wirelessly networked system ? Like a cross networked child program.

    Sounds really complex to me.
    Thanks.

    EDIT : Would it work if I simply open it like a normal child program, but change the path in which to look for it. If so, how do I tell it to look in another C drive. ( Both drives are named C. )
    Last edited by Necrofear; 05-20-2006 at 05:44 AM.

  2. #2
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    What you are looking for i think is a client server type of prog.

  3. #3
    int x = *((int *) NULL); Cactus_Hugger's Avatar
    Join Date
    Jul 2003
    Location
    Banks of the River Styx
    Posts
    902
    I'm not sure what you want...

    1) Do you want a program located & running on computer A to execute a program on computer A, but the program itself be located on computer B's hard disk?

    2) Or do you want a program located & running on computer A to execute a program on computer B, with the program located on computer B's hard disk?

    #1 can be accomplished with today's networking. Simply share a folder over your network, and perhaps map it to a drive.
    #2 might be a bit harder, and you need something like what kryptkat suggested. To do it yourself, you'd create two programs, a server and a client. The server would run on computer B, and when the client (run from A) told it to, it'd run a program on computer B. You'd probably use sockets to communicate between the two: read a few online tutorials.

    (Note that having program that can be told to run other programs over a network (and possibly, the internet) is a security risk if done improperly.)
    long time; /* know C? */
    Unprecedented performance: Nothing ever ran this slow before.
    Any sufficiently advanced bug is indistinguishable from a feature.
    Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
    The best way to accelerate an IBM is at 9.8 m/s/s.
    recursion (re - cur' - zhun) n. 1. (see recursion)

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    183
    Number two is the one I want.

    For Example, if I wanted an entire network of computers to restart at the same time, I could just run one program, which is set to seek, and then launch the reboot programs over the network.

    I'll take your advice and go read some tutorials now I know what I'm looking for.
    Cheers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Complicated member objects that depend on `this`
    By drrngrvy in forum C++ Programming
    Replies: 3
    Last Post: 11-12-2006, 09:48 PM
  2. Complicated Memory Management
    By sean in forum C Programming
    Replies: 8
    Last Post: 11-25-2004, 10:25 PM
  3. Directx unnecessary complicated
    By SAMSAM in forum Game Programming
    Replies: 5
    Last Post: 01-21-2003, 09:10 PM
  4. Nothing complicated, just...
    By SMurf in forum Windows Programming
    Replies: 1
    Last Post: 09-01-2002, 06:59 PM
  5. The Most Complicated program
    By Prodigy in forum C++ Programming
    Replies: 5
    Last Post: 05-04-2002, 06:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21