Thread: DLL Link Error
View Single Post
  #1   Spotlight this post!  
Unread 16-12-2003, 22:23
Adam Shapiro's Avatar
Adam Shapiro Adam Shapiro is offline
Registered User
FRC #0555 (Montclair Robotics)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Montclair, NJ
Posts: 401
Adam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud of
Send a message via AIM to Adam Shapiro
DLL Link Error

I created a simple DLL and attempted to include it in a test app by including the header file for the functions I wished to use and linking with the .lib file created by MSVC upon compiling the DLL. When I compile the program it has no errors but when I link it I get "tri5.lib : fatal error LNK1136: invalid or corrupt file". I can't figure out what is wrong as MSVC created the lib file. Any advice? A quick response would be much appreciated as I need this project to work ASAP.
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic