freyrb
asked on
Select Computer dialogue box - which call?
What is the API call for the "Select Computer" dialog, which can be found e.g. in the Registry Editor (Registry | Select Computer... from menu)?
I know there are API calls for connecting resources (disks/printers) over a network with WNetConnectionDialog and WNetDisconnectDialog, but that's not exactly what I'm looking for. There is a function called NetQueryDisplayInformation which I wonder is what I'm looking for, but I get 'Undeclared identifier:...' when I try using it.
I know there are API calls for connecting resources (disks/printers) over a network with WNetConnectionDialog and WNetDisconnectDialog, but that's not exactly what I'm looking for. There is a function called NetQueryDisplayInformation
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Adjusted points to 100
ASKER
This is also the case with the other component, i.e. the selection string is empty when a computer is selected. So maybe its not the components that are the problem but the ShellObject unit. I myself use Delphi 2.0 (no upgrade), but the SHLOBJ.DCU comes with Delphi 2.01. I used a custom SHLOBJ replacement, which I understand is all right.
Bottom line is, and I repeat this, that I need to reproduce the dialog box that pops up e.g. in the Registry Editor.