Results 1 to 2 of 2

Thread: DLL Link Error

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Posts
    5

    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.
    http://petboysherman.8m.com
    Trust, Love, and Magic.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Check all project configs and rebuild the app. If that doesn't help, I don't know. But sometimes the linker just gets confused.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width