View Full Version : TAPI "undefined reference"

07-16-2002, 08:16 PM
Does anyone here have any experience with TAPI, or even with some linking knowledge? The problem is, I wrote a simple phone dialar class that will compile fine until I actually create an instance in the program. It gives me the dreaded "undefined reference..." error, specifically:

C:\WINDOWS\TEMP\ccBHcbgb.o(.text$Call__5PhonePc+0x 58):untitl~1.cpp: undefined reference to `lineOpenA@36'
C:\WINDOWS\TEMP\ccBHcbgb.o(.text$Call__5PhonePc+0x 81):untitl~1.cpp: undefined reference to `lineMakeCallA@20'

I have included <tapi.h> and linked to libtapi32.a with the standard Dev-C++ syntax "-ltapi32".
I have linked to libraries before for winsock, audio, etc, so I'm thinking this is TAPI specific. Anyhoo, let me know if this sounds familiar...