Thread: Dll Import

  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    1

    Dll Import

    HI,

    I have to control a chip and for this I am using C language.
    I have the Dll available. Now the question is that how I can import that Dll file in my C code.

    Please help me at your earliest.

    Regards,
    Danish Kalim

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    It's Windows related and should have gone in Windows

    STW, there are tonnes of articles.

  3. #3
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    Code:
    #include "file.dll"
    is one way.

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    no it's not. dll files are not source code. they're binaries.

    http://en.wikipedia.org/wiki/Dynamic-link_library

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DLL generated but related import library is missing?
    By George2 in forum C Programming
    Replies: 0
    Last Post: 08-18-2006, 12:13 AM
  2. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 02:20 AM
  3. DLL and std::string woes!
    By Magos in forum C++ Programming
    Replies: 7
    Last Post: 09-08-2004, 12:34 PM
  4. DLL Import
    By Hyder Ali in forum C# Programming
    Replies: 5
    Last Post: 06-14-2004, 12:36 AM
  5. Import Dll
    By Shakespeare in forum C++ Programming
    Replies: 2
    Last Post: 01-27-2003, 05:40 AM