[Bug 35197] Torrents Downloader 0.1 fails to start (unsupported flags passed to CoInternetSetFeatureEnabled should be ignored, not returning error)
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Feb 14 17:33:27 CST 2014
https://bugs.winehq.org/show_bug.cgi?id=35197
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |focht at gmx.net
Summary|Torrents Downloader 0.1 |Torrents Downloader 0.1
|fails to start |fails to start (unsupported
| |flags passed to
| |CoInternetSetFeatureEnabled
| |should be ignored, not
| |returning error)
--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
confirming, still present.
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Torrents Downloader
$ WINEDEBUG=+tid,+seh,+relay,+urlmon wine ./torrents_downloader.exe >>log.txt
2>&1
...
0024:Call urlmon.CoInternetSetFeatureEnabled(00000002,00000015,00000001)
ret=1d1adc9a
0024:trace:urlmon:CoInternetSetFeatureEnabled (2, 00000015, 1)
0024:fixme:urlmon:set_internet_feature Unsupported flags: 00000015
0024:Ret urlmon.CoInternetSetFeatureEnabled() retval=80004001 ret=1d1adc
...
0024:Call user32.MessageBoxW(00000000,02ae9448 L"We're so sorry, Torrents
Downloader failed.\nStay tuned for updates.",02908540 L"Startup
error",00002010) ret=1d1adc9a
--- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/ie/ms537168%28v=vs.85%29.aspx
--- quote ---
CoInternetSetFeatureEnabled function
Enables or disables a specified feature control.
...
FeatureEntry
A value from the INTERNETFEATURELIST enumeration that indicates the feature
control to enable or disable.
...
typedef enum _tagINTERNETFEATURELIST {
FEATURE_OBJECT_CACHING = 0,
FEATURE_ZONE_ELEVATION = 1,
FEATURE_MIME_HANDLING = 2,
...
dwFlags [in]
Specifies where to set the feature control value. Can be one of the
following values:
dwFlags [in]
Specifies where to set the feature control value. Can be one of the
following values:
SET_FEATURE_ON_THREAD (0x00000001)
The current thread.
SET_FEATURE_ON_PROCESS (0x00000002)
The current process.
SET_FEATURE_IN_REGISTRY (0x00000004)
Reserved. Do not use.
SET_FEATURE_ON_THREAD_LOCALMACHINE (0x00000008)
The local machine zone.
SET_FEATURE_ON_THREAD_INTRANET (0x00000010)
The intranet zone.
...
fEnable
A BOOL that indicates that the feature control specified by FeatureEntry is
enabled when fEnable is TRUE.
...
--- quote ---
I think what Bruno did - ignoring unsupported flag values - might be indeed the
way to go.
MSDN doesn't mention other return values than S_OK and E_FAIL (which only
applied for invalid 'FeatureEntry' case).
$ sha1sum installer.exe
96b7fee0b6244c95db9d698c5d36bf8ac54f9a6a installer.exe
$ du -sh installer.exe
588K installer.exe
$ wine --version
wine-1.7.12-141-gaa22a3c
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list