Thread: Include .dll files in DEV c++ priject

  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    2

    Cool Include .dll files in DEV c++ priject

    Hi,
    I have some function in WSN.dll , I want to include the function in run time ..
    How to include this in DEVC++ compiler .
    I have the wsn.dll file ,.. the function i'll be calling is Client_API.Login();

    thanks
    chethan

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    You'll have to link with the .dll. This has little to do with compilation, except that if you're using a fancy tool it will often do the compilation and linking in one go. So look for options that have "link" in the title, and one of them should be something like "add library" and you can add your library there.

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    2
    Hi,

    I couldnt find any options to add/link the library in DEVC++ tool ,.
    Can you suggest some free tool which can compile the C++/C code and provide link option as well .

    regards
    chethan

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Start in project->settings

    When you're done with this project, consider getting a better IDE.
    Dev-c++ is old, somewhat buggy and most importantly no longer maintained.

    Code::Blocks is the "successor" project (in spirit at least).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User blackcoder41's Avatar
    Join Date
    Jan 2010
    Location
    Philippines
    Posts
    14

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. intentially create program with large run-time memory
    By dsollen in forum C++ Programming
    Replies: 3
    Last Post: 11-02-2009, 12:07 PM
  2. debug assertion failed!
    By chintugavali in forum C Programming
    Replies: 4
    Last Post: 12-11-2007, 06:23 AM
  3. 2d game
    By JordanCason in forum Game Programming
    Replies: 5
    Last Post: 12-08-2007, 10:08 PM
  4. Read and write hanging
    By zee in forum C Programming
    Replies: 8
    Last Post: 08-03-2004, 11:19 PM
  5. newbie q: include files outside the project dir?
    By BrianK in forum Windows Programming
    Replies: 3
    Last Post: 06-29-2004, 03:45 PM