DLLs for dummies

This is a discussion on DLLs for dummies within the Windows Programming forums, part of the Platform Specific Boards category; Does anyone have suggestions for good sites that will help a beginner create a DLL? I am trying to use ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    4

    DLLs for dummies

    Does anyone have suggestions for good sites that will help a beginner create a DLL?

    I am trying to use mingw-msys (and have read their how to, and even tried the Petzold tome), but I am bit mystified about what I do to create for a c++ dll, what specific syntax for classes/functions I might need to use and the like.

    Any help much appreciated.

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    903
    There aren't many special tricks on the DLL side. You will need to use the __declspec(dllimport) or __declspec(dllexport) keywords for your classes but other than that, I would only suggest you to read on DllMain() on MSDN.

    On the side of the program that's another story, though.

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    >>Does anyone have suggestions for good sites that will help a beginner create a DLL?<<

    Have you looked at the MinGW documentation page?
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,059

  5. #5
    Registered User
    Join Date
    Aug 2005
    Posts
    4
    Parfik, as Pa would say.

    Just the start points I needed. Thanks muchly all.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Some doubts on DLLs
    By BrownB in forum Windows Programming
    Replies: 1
    Last Post: 05-30-2007, 02:25 AM
  2. standart dlls
    By keeper in forum C++ Programming
    Replies: 3
    Last Post: 07-05-2006, 07:32 PM
  3. 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
  4. question about DLL's and class functions
    By btq in forum Windows Programming
    Replies: 2
    Last Post: 02-25-2003, 05:08 AM
  5. DLLs <- sound files, and nesting.
    By sean in forum C++ Programming
    Replies: 2
    Last Post: 10-28-2002, 04:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21