Framework 2 is a must?

Discussion in 'Win32' started by AhmedHan, Apr 16, 2006.

  1. AhmedHan

    AhmedHan New Member

    Joined:
    Oct 11, 2005
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://www.stirve.com
    Hello everybody,
    I have recently wrote down a program which you can download from here.
    This program have some fault as not running on some computers. One of my friend claimed that it will only run on computers which Framework 2 was installed previously.
    But ,another of mine written using DevCPP, works without any bother on all Windows platforms.

    Kanji Master is written with VC++ 2005 (Didn't use any special API funtions or something that will make it OS version dependant)
    Shutdown is written with DevCPP

    I thought that since Visual Studio is a more developed and enhanced tool, its abilities would surpass DevCPP's. I can't say people "Use this program. It is less than 100kb, but you have to install this 40MB Framework 2 thing first...".

    Can't it be run witout Framework 2? It is annoying. Advices needed.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    If you have done it in MFC then you dont need the .NET framework. All you can do is instead of dynamically linking the dll link them statically and they should work on all OS.
     
  3. AhmedHan

    AhmedHan New Member

    Joined:
    Oct 11, 2005
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://www.stirve.com
    Not MFC, I worked in low level Win32.
    Which DLL should I link?
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    You should not be linking. When you build there is an option in VC++ whether you want to link the DLL dynamically or statically for MFC/Win 32 projects under the projects >> settings menu
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice