Thread: using dll's, worked before not now?

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    using dll's, worked before not now?

    I am having truble using a dll I made. I before just did

    #include "sample.dll"

    and that worked, but sence I don't use dev-c++ anymore that gives alot of errors (using GCC and visual c++ toolkit 2003).

    So how would I include the dll I made and be able to use the functions and classes in side the dll.

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    When I've compiled a .DLL I usually use the functions etc inside them through LoadLibrary() and GetProcAddress().

    http://www.flipcode.com/articles/art...tingdlls.shtml
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Protection of DLLs
    By Poche in forum C# Programming
    Replies: 5
    Last Post: 06-04-2009, 08:30 PM
  2. Some doubts on DLLs
    By BrownB in forum Windows Programming
    Replies: 1
    Last Post: 05-30-2007, 02:25 AM
  3. standart dlls
    By keeper in forum C++ Programming
    Replies: 3
    Last Post: 07-05-2006, 07:32 PM
  4. Can't load string from resource DLL's string table
    By s_k in forum Windows Programming
    Replies: 4
    Last Post: 07-15-2003, 06:43 AM
  5. DLLs <- sound files, and nesting.
    By sean in forum C++ Programming
    Replies: 2
    Last Post: 10-28-2002, 05:13 PM