CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Tournai, Belgium

    How to build an application with static DLL in VC++

    How to build an application with static DLL
    in VC6.0 It was Project>Project Setting>StaticDLL

    But In VC7.0 ???


  2. #2
    Join Date
    May 2002
    The MFC Application Wizard offers you the option of statically linking the MFC Library or using the 'Shared' dll. Choose static linking.

    A real interesting problem is that some machines will not have certain system files (i.e., Windows 95/98 ?). What I have done in the past is to build the program using the dynamic linking because it compiles faster, then when I'm ready to compile the Release version, set the Programs/Settings to the static library so that the finished product has all the current MFC stuff in it. That way you avoid messing arround with registering MFCxx.dll on the users machine.

    But what about C++.NET. Is there any way of changing to static library linking once youve configured for the dynamic link library?

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.