Thread: Can c legacy program call c++ library?

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    1

    Question Can c legacy program call c++ library?

    Hi, All,

    I have to enhance a legacy system writen in C using a library written in C++.
    I know it is possible for c++ to call a C program. However, is it possible and how to go reverse?

    (I hope it can work. Otherwise, i need to rewrite the library in C!!! )

  2. #2
    Im a Capricorn vsriharsha's Avatar
    Join Date
    Feb 2002
    Posts
    192

    Thumbs down

    Hey,,,
    As far as my knowledge goes I dont thing it should work and you have no choice but to rewrite it. BUT just in case it works, please dont mind forwarding that copy as I too would like to know how...
    Regards

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program without standard library?
    By Sly in forum C Programming
    Replies: 23
    Last Post: 11-29-2008, 06:47 PM
  2. Help calling function is asm
    By brietje698 in forum C++ Programming
    Replies: 24
    Last Post: 12-06-2007, 04:48 PM
  3. Is it possible to call a java program in C?
    By xilum68 in forum C++ Programming
    Replies: 1
    Last Post: 12-05-2003, 01:26 AM
  4. How to call another program?
    By Unreg1stered in forum C++ Programming
    Replies: 4
    Last Post: 07-21-2002, 12:03 AM
  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, 06:57 AM