Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bu.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc05!hpbbn!hpgnd!jr@hpgnd.grenoble.hp.com From: jr@hpgnd.grenoble.hp.com (Jean-Ren BOUVIER) Newsgroups: comp.lang.c++ Subject: Re: TC++ calling TC function gives error Message-ID: <2460001@hpgnd.grenoble.hp.com> Date: 10 Jan 91 07:22:29 GMT References: <1898@umriscc.isc.umr.edu> Organization: Hewlett-Packard, GND Lines: 8 if you wanna link a C function to a C++ program you needa say it ! Thus your test1.cpp file should contain: extern "C" { int foobar(int, int); } - jr