Call a remote C# program from a C program on unix

This is a discussion on Call a remote C# program from a C program on unix within the C Programming forums, part of the General Programming Boards category; I am a very junior C programmer and need your help. Being on a Solaris version 8 unix box, we ...

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    1

    Call a remote C# program from a C program on unix

    I am a very junior C programmer and need your help.

    Being on a Solaris version 8 unix box, we program in C (Unix). Somebody did a C# program on an external windows box. We would like to create a process to run this C# program from a C program on our unix box. I was wondering if there is a way to do this?

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >We would like to create a process to run this C# program from a C program on our unix box.
    To what effect? Be specific and we'll be specific in return.

    >I was wondering if there is a way to do this?
    It depends.
    My best code is written with the delete key.

  3. #3
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    There is a way to do almost anything. If the program is not too advance, you could run it via WINE.

    The better way of doing this, however, would be to find the source and recreate the program. Remember that *nix and Windows don't mix all that easily.

  4. #4
    .
    Join Date
    Nov 2003
    Posts
    307
    Assuming the code runs under WINE - which is a major assumption.

    Kennedy is correct - porting to unix makes more sense. Or, possibly, running the code remotely on the Windows box, capturing output in a file and sending it to the unix box.

  5. #5
    Registered User
    Join Date
    Sep 2003
    Posts
    224
    You can run C# programs on Unix. Check out http://www.mono-project.com/Main_Page. I haven't tried it, though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 02:42 AM
  2. Troubleshooting Input Function
    By SiliconHobo in forum C Programming
    Replies: 14
    Last Post: 12-05-2007, 07:18 AM
  3. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 11:17 PM
  4. Can c legacy program call c++ library?
    By happylee in forum C Programming
    Replies: 2
    Last Post: 02-20-2002, 12:57 PM
  5. Pls help me to do this project in C I need source code
    By sureshmenon74 in forum C Programming
    Replies: 4
    Last Post: 10-04-2001, 07:57 AM

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