[Bug 49531] Multiple Qt5 based applications which make use of 'QNetworkConnectionMonitor' need 'INetworkConnection::GetAdapterId' implementation (Futubull 10.x)
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Feb 13 06:07:50 CST 2021
https://bugs.winehq.org/show_bug.cgi?id=49531
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|https://softwarefile.futunn |https://web.archive.org/web
|.com/FTNN_10.6.7858.0615095 |/20210213115518/https://sof
|7.exe |twarefile.futunn.com/FTNN_1
| |0.6.7858.06150957.exe
Ever confirmed|0 |1
Summary|futubull not work |Multiple Qt5 based
| |applications which make use
| |of
| |'QNetworkConnectionMonitor'
| |need
| |'INetworkConnection::GetAda
| |pterId' implementation
| |(Futubull 10.x)
CC| |focht at gmx.net
Keywords| |download, source
Component|-unknown |netprofm
Status|UNCONFIRMED |NEW
--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
adding more detail information and refining summary to collect dupes here.
@Matt
Please don't confuse/mix entirely different issues with bugs that have nothing
to do with it. Bug 49954 is about VC++ 2017/2019 runtime insufficiency of Wine
builtins.
Relevant part of Qt5 source, used by 'QNetworkConnectionMonitor' class:
https://code.qt.io/cgit/qt/qtbase.git/tree/src/network/kernel/qnetconmonitor_win.cpp?h=v5.15.2#n207
--- snip ---
ComPtr<INetworkConnection>
QNetworkConnectionEvents::getNetworkConnectionFromAdapterGuid(QUuid guid)
{
ComPtr<IEnumNetworkConnections> connections;
auto hr =
networkListManager->GetNetworkConnections(connections.GetAddressOf());
if (FAILED(hr)) {
qCWarning(lcNetMon) << "Failed to enumerate network connections:"
<< errorStringFromHResult(hr);
return nullptr;
}
ComPtr<INetworkConnection> connection = nullptr;
do {
hr = connections->Next(1, connection.GetAddressOf(), nullptr);
if (FAILED(hr)) {
qCWarning(lcNetMon) << "Failed to get next network connection in
enumeration:"
<< errorStringFromHResult(hr);
break;
}
if (connection) {
GUID adapterId;
hr = connection->GetAdapterId(&adapterId);
if (FAILED(hr)) {
qCWarning(lcNetMon) << "Failed to get adapter ID from network
connection:"
<< errorStringFromHResult(hr);
continue;
}
if (guid == adapterId)
return connection;
}
} while (connection);
return nullptr;
}
--- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/4f7e621dc58fd82924e64c695dc61a78c55fd44e:/dlls/netprofm/list.c#l1584
--- snip ---
1584 static HRESULT WINAPI connection_GetAdapterId(
1585 INetworkConnection *iface,
1586 GUID *pgdAdapterId )
1587 {
1588 struct connection *connection = impl_from_INetworkConnection( iface );
1589
1590 FIXME( "%p, %p\n", iface, pgdAdapterId );
1591
1592 *pgdAdapterId = connection->id;
1593 return S_OK;
1594 }
--- snip ---
$ sha1sum FTNN_10.6.7858.06150957.exe
7ed65980ef80dee5db321e2a4101050fd847e78d FTNN_10.6.7858.06150957.exe
$ du -sh FTNN_10.6.7858.06150957.exe
126M FTNN_10.6.7858.06150957.exe
$ wine --version
wine-6.2
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