My app only works in computers with VC++ 2005

i have compiled an application using .net 2.0 in Visual C++ 2005 Beta 2, and when i send the exe to people it only works on computers with VC++ 2005 installed - does anyone else have this problem/ can help with this


Answer this question

My app only works in computers with VC++ 2005

  • Bobby Kuzma

    Hello Xpyder,

    If you used the 'Managed' stuff, eg: Console class, Windows Forms application etc, you'd have to also install the .Net 2 Beta 2 framework on their machines as well...pretty sure that's what it is.  If you compiled a 'Win32' application and only linked with runtime libs, then I dunno.

    Hope this helps!

    Davey

  • gerard64

    ...well, I think that as long as the versions match, it should work.  The separate version at the Framework site:  ( http://www.microsoft.com/downloads/details.aspx FamilyId=41070791-8912-4F94-AC46-7CE0E386D5C9&displaylang=en  )

    ...is 2.0.50215 ...which is what came with Express Beta 2.  You can check by looking on your hard drive at %windir%\Microsoft.NET\Framework  ...you should see some folders with the versions installed (eg 1.0, 1.1, etc).

    Davey


  • xulijie

    hmm - i included the .net 2.0 from the microsoft page on the zip file - and the testers said they installed it - would i need a different one like SDK or something

  • My app only works in computers with VC++ 2005