No access to Network Neighbourhood in Vista if no devices

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

No access to Network Neighbourhood in Vista if no devices

Post by *Flint »

The situation: there are no network cards in Vista installed.
When trying to access the Network Neighbourhood in TC, it shows twice the same message:

Code: Select all

[Window Title]
Network

[Content]
Network discovery is turned off. Network computers and devices are not visible. Please turn on network discovery in Network and Sharing Center.

[OK]
and then the following:

Code: Select all

---------------------------
Total Commander
---------------------------
External exception 80000004.
Please report this error to the Author,
with a description of what you were doing when this error occured!
Continue execution?
---------------------------
Yes   No   
---------------------------
The Network folder is then shown empty (if plugins are installed they are visible).

In different experiments the different messages may be shown, e.g. in the next experiment I received the following message:

Code: Select all

---------------------------
Total Commander
---------------------------
Access violation at address 75DA54EF. Read of address FFFFFFFE.
Please report this error to the Author,
with a description of what you were doing when this error occured!
Continue execution?
---------------------------
Yes   No   
---------------------------
The problem is reproduced both in x86 and x64 versions of Vista.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Total Commander does not show such a message, it must be coming from the system. Total Commander does ask the system whether it supports network functions or not, and if not, hides the nethood. Apparently Microsoft has broken this function on Vista, so TC still tries to access the network...
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed now, although the access will be relatively slow: TC tries multiple times to get the remote server list, because Vista sometimes returns an empty list on the first call even if there are servers...
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

I have just tried it in Vista x86, no error is shown now, but the wating lasts for about 6-8 seconds...
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I found no better solution. The function which I used on older Windows versions to test if a network is present or not is not working on Vista. It always reacts as if there is a network.

Do you have any idea how I could determine quickly whether a network is available or not? Vista seems to know it, otherwise it wouldn't show this error message...
Author of Total Commander
https://www.ghisler.com
Post Reply