Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. I can run my app, but no one else can ;(... why?

I can run my app, but no one else can ;(... why?

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++visual-studiotutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chasetoys
    wrote on last edited by
    #1

    Users get the message: "This application has failed to start because the application configuration is incorrect. Reinstalling your application may fix the problem." Does anyone know how to solve this problem? I'd like to make sure my application runs on 98SE, WinXP Pro etc... any help? Thanks very much in advance! using visual studio 2005... (MFC app, NO .NET) (using the NSIS installer) build log follows: Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001D49765820.rsp" with contents [ /O2 /Ob1 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_BUILDING_ON_WIN2K" /D "_AFXDLL" /GF /FD /EHsc /MD /Gy /Yu"stdafx.h" /Fp".\ReleaseW2k/File1.pch" /Fo".\ReleaseW2k/" /Fd".\ReleaseW2k/" /W4 /c /TP ".\File4.cpp" ] Creating command line "cl.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001D49765820.rsp" /nologo /errorReport:prompt" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001E49765820.rsp" with contents [ /O2 /Ob1 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_BUILDING_ON_WIN2K" /D "_AFXDLL" /GF /FD /EHsc /MD /Gy /Yu"stdafx.h" /Fp".\ReleaseW2k/File1.pch" /Fo".\ReleaseW2k/" /Fd".\ReleaseW2k/" /W4 /c /TP ".\File1.cpp" ".\File2.cpp" ".\File6.cpp" ] Creating command line "cl.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001E49765820.rsp" /nologo /errorReport:prompt" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001F49765820.rsp" with contents [ /OUT:".\ReleaseW2k/MyAppName.exe" /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:".\ReleaseW2k\MyAppName.exe.intermediate.manifest" /PDB:".\ReleaseW2k/File1.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 shell32.lib kernel32.lib user32.lib ".\ReleaseW2k\File3.obj" ".\ReleaseW2k\File4.obj" ".\ReleaseW2k\File5.obj" ".\ReleaseW2k\File6.obj" ".\ReleaseW2k\File2.obj" ".\ReleaseW2k\File7.obj" ".\ReleaseW2k\StdAfx.obj" ".\ReleaseW2k\File1.obj" ".\ReleaseW2k\File1.res" ] Creating command line "link.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001F49765820.rsp" /NOLOGO /ERRORREPORT:PROMPT" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00002049765820.rsp" with contents [ /outputresource:".\ReleaseW2k\MyApp

    M H 2 Replies Last reply
    0
    • C chasetoys

      Users get the message: "This application has failed to start because the application configuration is incorrect. Reinstalling your application may fix the problem." Does anyone know how to solve this problem? I'd like to make sure my application runs on 98SE, WinXP Pro etc... any help? Thanks very much in advance! using visual studio 2005... (MFC app, NO .NET) (using the NSIS installer) build log follows: Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001D49765820.rsp" with contents [ /O2 /Ob1 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_BUILDING_ON_WIN2K" /D "_AFXDLL" /GF /FD /EHsc /MD /Gy /Yu"stdafx.h" /Fp".\ReleaseW2k/File1.pch" /Fo".\ReleaseW2k/" /Fd".\ReleaseW2k/" /W4 /c /TP ".\File4.cpp" ] Creating command line "cl.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001D49765820.rsp" /nologo /errorReport:prompt" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001E49765820.rsp" with contents [ /O2 /Ob1 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_BUILDING_ON_WIN2K" /D "_AFXDLL" /GF /FD /EHsc /MD /Gy /Yu"stdafx.h" /Fp".\ReleaseW2k/File1.pch" /Fo".\ReleaseW2k/" /Fd".\ReleaseW2k/" /W4 /c /TP ".\File1.cpp" ".\File2.cpp" ".\File6.cpp" ] Creating command line "cl.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001E49765820.rsp" /nologo /errorReport:prompt" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001F49765820.rsp" with contents [ /OUT:".\ReleaseW2k/MyAppName.exe" /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:".\ReleaseW2k\MyAppName.exe.intermediate.manifest" /PDB:".\ReleaseW2k/File1.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 shell32.lib kernel32.lib user32.lib ".\ReleaseW2k\File3.obj" ".\ReleaseW2k\File4.obj" ".\ReleaseW2k\File5.obj" ".\ReleaseW2k\File6.obj" ".\ReleaseW2k\File2.obj" ".\ReleaseW2k\File7.obj" ".\ReleaseW2k\StdAfx.obj" ".\ReleaseW2k\File1.obj" ".\ReleaseW2k\File1.res" ] Creating command line "link.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001F49765820.rsp" /NOLOGO /ERRORREPORT:PROMPT" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00002049765820.rsp" with contents [ /outputresource:".\ReleaseW2k\MyApp

      M Offline
      M Offline
      Maxwell Chen
      wrote on last edited by
      #2

      Be more specific please. What kind of application (project type, the functionality, etc.)? Under what OS? ...... ......


      Maxwell Chen

      C 1 Reply Last reply
      0
      • C chasetoys

        Users get the message: "This application has failed to start because the application configuration is incorrect. Reinstalling your application may fix the problem." Does anyone know how to solve this problem? I'd like to make sure my application runs on 98SE, WinXP Pro etc... any help? Thanks very much in advance! using visual studio 2005... (MFC app, NO .NET) (using the NSIS installer) build log follows: Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001D49765820.rsp" with contents [ /O2 /Ob1 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_BUILDING_ON_WIN2K" /D "_AFXDLL" /GF /FD /EHsc /MD /Gy /Yu"stdafx.h" /Fp".\ReleaseW2k/File1.pch" /Fo".\ReleaseW2k/" /Fd".\ReleaseW2k/" /W4 /c /TP ".\File4.cpp" ] Creating command line "cl.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001D49765820.rsp" /nologo /errorReport:prompt" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001E49765820.rsp" with contents [ /O2 /Ob1 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_BUILDING_ON_WIN2K" /D "_AFXDLL" /GF /FD /EHsc /MD /Gy /Yu"stdafx.h" /Fp".\ReleaseW2k/File1.pch" /Fo".\ReleaseW2k/" /Fd".\ReleaseW2k/" /W4 /c /TP ".\File1.cpp" ".\File2.cpp" ".\File6.cpp" ] Creating command line "cl.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001E49765820.rsp" /nologo /errorReport:prompt" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001F49765820.rsp" with contents [ /OUT:".\ReleaseW2k/MyAppName.exe" /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:".\ReleaseW2k\MyAppName.exe.intermediate.manifest" /PDB:".\ReleaseW2k/File1.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 shell32.lib kernel32.lib user32.lib ".\ReleaseW2k\File3.obj" ".\ReleaseW2k\File4.obj" ".\ReleaseW2k\File5.obj" ".\ReleaseW2k\File6.obj" ".\ReleaseW2k\File2.obj" ".\ReleaseW2k\File7.obj" ".\ReleaseW2k\StdAfx.obj" ".\ReleaseW2k\File1.obj" ".\ReleaseW2k\File1.res" ] Creating command line "link.exe @"c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00001F49765820.rsp" /NOLOGO /ERRORREPORT:PROMPT" Creating temporary file "c:\Documents and Settings\Davids\My Documents\Visual Studio 2005\Projects\Blah\ReleaseW2k\RSP00002049765820.rsp" with contents [ /outputresource:".\ReleaseW2k\MyApp

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        maybe you use from resources that are only in your windows

        1 Reply Last reply
        0
        • M Maxwell Chen

          Be more specific please. What kind of application (project type, the functionality, etc.)? Under what OS? ...... ......


          Maxwell Chen

          C Offline
          C Offline
          chasetoys
          wrote on last edited by
          #4

          My apologies... Its a MFC (no .NET project)... target install base are WinXP computers, but I'd like it to run on 98SE and up. I tried to link everything statically. The user who tried installing it had WinXP Pro SE installed. Could the error be that I didn't specify which version of Windows I wanted it to work on in the header files? I.e. I didn't have: #define WINVER 0x0410 or #define _WIN32_Windows 0x0410 Would this have fixed it?

          M 1 Reply Last reply
          0
          • C chasetoys

            My apologies... Its a MFC (no .NET project)... target install base are WinXP computers, but I'd like it to run on 98SE and up. I tried to link everything statically. The user who tried installing it had WinXP Pro SE installed. Could the error be that I didn't specify which version of Windows I wanted it to work on in the header files? I.e. I didn't have: #define WINVER 0x0410 or #define _WIN32_Windows 0x0410 Would this have fixed it?

            M Offline
            M Offline
            Maxwell Chen
            wrote on last edited by
            #5

            One main reason may be that you are using VC++ 2005, which is totally different in the deployment of the EXE you built. Read this article Bootstrapper for the VC++ 2005 Redists (with MSI 3.1)[^] may help.


            Maxwell Chen

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups