Hi
I wanted to investigate on ‘WinSparkle’ library. For the I have downloaded the latest version(0.4) from ‘Git’ I could build the project.
I have created my own win32 application and used the WinSparkle.dll. In this sample win32 code I enabled auto update by using ‘win_sparkle_set_automatic_check_for_updates(1);’ API. And time interval as ‘win_sparkle_set_update_check_interval(3600);’.
Then I launched the application and kept it for 1 hour. 10 min. but it did not launched auto update dialog.
Even for testing it in registry in reduced the time delay, still it did not worked.
Below is my code. Please let me know anything I am missing.
win_sparkle_set_registry_path("Software\\update");
win_sparkle_set_appcast_url("http://100.100.10.22/Update/appcast.xml");
win_sparkle_set_automatic_check_for_updates(1);
win_sparkle_set_update_check_interval(3600);
win_sparkle_init();
// Main message loop:
while (GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}