Thread: mixed language problem

  1. #1
    Registered User
    Join Date
    Dec 2001

    mixed language problem

    mixed language problem
    I'm trying to link a simple C *.obj file
    I developed using C with a LaHey fortran program I wrote. However, I get some link errors stating that the linker can't find the Windows API functions called from the C module.
    eg - Error Link 3230:
    Undefined symbol
    " _CreateFile@A28" in module "xxxxx"
    @location 0048AF5A

    The C program compiles,links and runs fine by itself made as either a Windows application or a console application.
    Apparently I need another library referenced in the link statement, but I don't know which one.
    Can anyone help me with this?

  2. #2
    Join Date
    Aug 2001
    Groningen (NL)
    You need the library file which contains the function CreateFile. This library must be linked in. (if that's correct English)

  3. #3
    Thank you. Do you know which one that is?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Language - When To Use What?
    By tjinr in forum A Brief History of
    Replies: 36
    Last Post: 08-06-2006, 02:04 AM
  2. Replies: 5
    Last Post: 11-07-2005, 11:34 PM
  3. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  4. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM
  5. Peculiar Problem with char variable in C Language
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 10-31-2001, 04:06 PM