Giter Site home page Giter Site logo

Comments (4)

tannerhelland avatar tannerhelland commented on August 9, 2024

Today I ran some tests while passing "INTERNET_FLAG_ASYNC" to InternetOpen - this forces the program to use asynchronous connections, which should theoretically have helped. It did help the interface not freeze up, but it leads to other errors (including total failure to download anything at times) so scratch that as a possible solution.

from photodemon.

tannerhelland avatar tannerhelland commented on August 9, 2024

FYI this describes the problem with attempted solution #1 in more detail: http://support.microsoft.com/kb/189850

from photodemon.

tannerhelland avatar tannerhelland commented on August 9, 2024

Here's a new solution - silently check for updates on program close. When the program is closed, unload everything possible, hide the main form, then perform the update check. If an update is found, set a flag in the .INI file, and the next time the software is run, notify the user. This would keep startup light and lean, and the program should still close just as quickly (at least perceptually).

Even better would be a silent download, but I'm hesitant to do that because it might appear questionable to a firewall or other program... needs more consideration.

from photodemon.

tannerhelland avatar tannerhelland commented on August 9, 2024

Forget all this messy stuff; an easier solution is to simply reduce the frequency of update checks. As of 63dea6f software update checks are only run once every 10 days, and I'll be modifying the Preferences dialog to make that user-editable.

from photodemon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.