Calling a C program from Vb.Net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Grace McMahon

    #1

    Calling a C program from Vb.Net

    Hi,

    I need to call a C procedure from my aspx.vb class. Can someone please help
    me how to do this. The C program sits on a unix machine....plea se help or
    point me in the right direction.

    Any help would be greatly appreciated.

    Cheers


  • Alvin Bruney

    #2
    Re: Calling a C program from Vb.Net

    u cannot call a c procedure from a c# program. what you can do is call the c
    program. You would possibly need to modify your c code to accept parameters
    that would then call the appropriate function, either that or rewrite your c
    code into a dll exposing the necessary function calls in its interface.
    good luck

    "Grace McMahon" <gracemcmahon10 0@hotmail.com> wrote in message
    news:ek83MmKUDH A.3192@tk2msftn gp13.phx.gbl...[color=blue]
    > Hi,
    >
    > I need to call a C procedure from my aspx.vb class. Can someone please[/color]
    help[color=blue]
    > me how to do this. The C program sits on a unix machine....plea se help or
    > point me in the right direction.
    >
    > Any help would be greatly appreciated.
    >
    > Cheers
    >
    >[/color]


    Comment

    • Natty Gur

      #3
      Re: Calling a C program from Vb.Net

      UNIX ...
      do you have control over the C program or you just use it

      Natty Gur, CTO
      Dao2Com Ltd.
      28th Baruch Hirsch st. Bnei-Brak
      Israel , 51114

      Phone Numbers:
      Office: +972-(0)3-5786668
      Fax: +972-(0)3-5703475
      Mobile: +972-(0)58-888377

      Know the overall picture


      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      • Kevin Spencer

        #4
        Re: Calling a C program from Vb.Net

        Are you talking about an executable?

        --
        HTH,

        Kevin Spencer
        Microsoft MVP
        ..Net Developer
        All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

        Big things are made up of
        lots of little things.

        "Grace McMahon" <gracemcmahon10 0@hotmail.com> wrote in message
        news:ek83MmKUDH A.3192@tk2msftn gp13.phx.gbl...[color=blue]
        > Hi,
        >
        > I need to call a C procedure from my aspx.vb class. Can someone please[/color]
        help[color=blue]
        > me how to do this. The C program sits on a unix machine....plea se help or
        > point me in the right direction.
        >
        > Any help would be greatly appreciated.
        >
        > Cheers
        >
        >[/color]


        Comment

        Working...