Menu

Win32 Dll tutorial...?

deostroll
2007-09-20
2012-09-26
  • deostroll

    deostroll - 2007-09-20

    Is there any tutorial aimed at creating dlls using dev c++? I also want to know the general steps or concepts involved while creating dlls?
    --deostroll

     
    • Anonymous

      Anonymous - 2007-09-21

      Building a DLL in Dev-C++ is no different from building a DLL in any other C/C++ development tool. So a general Web search should get you plenty of material. To help you along Dev-C++ provides a DLL project templete (File->New->New project). This will set up a basic framework and provide the correct build settings and process - this being the only Dev-C++ specific part. You then just fill in the blanks.

      If you want interoperability with other compilers, all your exported interfaces must have C linkage - either by being compiled as C code or by by being declared with extern "C". This precludes using C++ specific features classes, overloading, namespaces etc. You can use these features within teh code, but not expose tehm with C linkage. If you use C++ interfaces, you can only guarantee linkage with other MinGW/GCC code, and even then possibly not all versions.

      Clifford

       
    • BiT

      BiT - 2007-09-21

      Use the search feature and you will find an answer to your question (the search feature is that little box in the upper right that says "Search")

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.