App won't run on Windows 8.1
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Thread: App won't run on Windows 8.1

  1. #1
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,123

    App won't run on Windows 8.1

    I've been told one of our apps just crashes on 8.1, but works on everything else. Another gives the error "The procedure entry point CoInternetSetFeatureEnabled could not be located in the dynamic link library C:\WINDOWS\AppPatch\AcGenral.DLL.'

    These were created with VS2012 SP3. I don't have an 8.1 computer and have no idea where to even look. Any ideas?

  2. #2
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,553

    Re: App won't run on Windows 8.1

    Why not create/install a virtual Windows 8.1 machine on your development computer that can be used for testing? My Windows 7 system has VMs for XP, Windows 8 and Windows 8.1. For historical reasons I use VMWARE, but there is virtual PC from Microsoft.
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,123

    Re: App won't run on Windows 8.1

    Not sure how that would help with the current problem

  4. #4
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,553

    Re: App won't run on Windows 8.1

    Quote Originally Posted by GCDEF View Post
    Not sure how that would help with the current problem
    So you would be able to test/debug your app under 8.1 on your own computer. That's what I do.
    Last edited by 2kaud; November 21st, 2013 at 04:20 PM.
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  5. #5
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,359

    Re: App won't run on Windows 8.1

    Given the AppPatch folder displayed in the error, I wonder that if your app is a popular app, Microsoft created an app patch for it that wasn't created (yet) for Win 8.1?

  6. #6
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,123

    Re: App won't run on Windows 8.1

    Quote Originally Posted by Arjay View Post
    Given the AppPatch folder displayed in the error, I wonder that if your app is a popular app, Microsoft created an app patch for it that wasn't created (yet) for Win 8.1?
    I'm not sure what you mean, but I am sure Microsoft hasn't heard of us or created any kind of patch.

  7. #7
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    827

    Re: App won't run on Windows 8.1

    @2kaud is absolutely correct. I can't imagine living without the VMs. They are indispensable for debugging. We're using VMWare workstation. Here's the screenshot from my dev machine:

    Name:  1.jpg
Views: 511
Size:  100.0 KB

    As you can see I have all the OS's from XP to 8.1 to Mavericks right on my desktop. And switching between them is as easy as clicking on a new tab. You can also employ remote debugging and a special VMWare VS plugin for debugging, or you can simply rely on good ol' event logging.

    Before using VMWare (which you have to pay for), we used Oracle's VirtualBox, which is free and, to be honest with you, works as well. It just doesn't have the VS integration.

    As for your original problem, it's really hard to say without actually running a debugger on it. Maybe try to add Windows 8.1 compatibility manifest.

  8. #8
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,359

    Re: App won't run on Windows 8.1

    You can also try to run the app in compatibility mode.

  9. #9
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,123

    Re: App won't run on Windows 8.1

    Quote Originally Posted by Arjay View Post
    You can also try to run the app in compatibility mode.
    Not sure what that means either.

  10. #10
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,359

    Re: App won't run on Windows 8.1

    Quote Originally Posted by GCDEF View Post
    Not sure what that means either.
    right click on the app icon and choose properties. In there you'll find compatibility mode settings. It allows the app to run as if on an erlier version of Windows.

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

This is a CodeGuru survey question.


Featured


HTML5 Development Center