Skip to content
Tcl Source Code View Ticket
Login

View Ticket

'dde services' fails to filter on first call

Closed / Fixed218744ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:51
OriginalBugID: 1972 Bug
Version: 8.1
SubmitDate: '1999-05-04'
LastModified: '1999-08-20'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1999-08-20'
FixedInVersion: NA
ClosedDate: '2000-10-25'


Name:  Kevin Kenny
email:  [email protected]
Support:  Gold
Severity:  3
CVS:   * RCS: @(#) $Id: tclWinDde.c,v 1.2 1999/04/16 00:48:08 stanton Exp $
OperatingSystem:  Windows 95
OperatingSystemVersion:  OEM Service Release 4
Extensions:  dde
CustomShell:  Unmodified 8.1 core
Synopsis:  'dde services' fails to filter on first call

ReproducibleScript:
    # The following script shows how the 'dde services' command
    # returns a list of all services the first time that it is invoked.
    
    package require dde
    puts "First time: [dde services NoService NoTopic]"
    puts "Second time: [dde services NoService NoTopic]"
    

ObservedBehavior:
    First time: {PROGMAN PROGMAN} {Shell AppProperties} {Folders
    AppProperties} {NETSCAPE WWW_OpenURL} {NETSCAPE WWW_ShowFile} {NETSCAPE
    WWW_Activate} {NETSCAPE WWW_ListWindows} {NETSCAPE WWW_GetWindowInfo}
    {NETSCAPE WWW_ParseAnchor} {NETSCAPE WWW_Exit} {NETSCAPE
    WWW_RegisterProtocol} {NETSCAPE WWW_UnRegisterProtocol} {NETSCAPE
    WWW_RegisterViewer} {NETSCAPE WWW_QueryViewer} {NETSCAPE
    WWW_ViewDocFile} {NETSCAPE WWW_UnRegisterViewer} {NETSCAPE
    WWW_RegisterURLEcho} {NETSCAPE WWW_URLEcho} {NETSCAPE
    WWW_UnRegisterURLEcho} {NETSCAPE WWW_RegisterWindowChange} {NETSCAPE
    WWW_WindowChange} {NETSCAPE WWW_UnRegisterWindowChange} {NETSCAPE
    WWW_BeginProgress} {NETSCAPE WWW_SetProgressRange} {NETSCAPE
    WWW_MakingProgress} {NETSCAPE WWW_EndProgress} {NETSCAPE WWW_Alert}
    {NETSCAPE WWW_Version} {NETSCAPE WWW_CancelProgress} {NETSCAPE
    WWW_QueryURLFile} {NETSCAPE WWW_ListFrameChildren} {NETSCAPE
    WWW_GetFrameParent} {NETSCAPE WWW_RegisterStatusBarChange} {NETSCAPE
    WWW_StatusBarCh!
    ange} {NETSCAPE WWW_UnRegisterStatusBarChange} {NETSCAPE
    WWW_NavigateBack} {NETSCAPE WWW_NavigateForward} {NETSCAPE WWW_Reload}
    {NETSCAPE WWW_Stop} {NETSCAPE WWW_GetDocumentWidth} {NETSCAPE
    WWW_GetDocumentHeight}
    Second time: 
    
    

DesiredBehavior:
    First time: 
    Second time: 
    
    

Patch:
No patch yet.

Comments:
    Can work around the problem quite easily by including the line:
    
    dde services {} {}
    
    right after the 'package require dde'


The version of dde with 8.2.0 returns {} on the initial call as well. 
-- 08/20/1999 hobbs
welch Closed ticket [218744ffff]. [History diff]2000-10-26 08:28:13
dgp Ticket [218744ffff]: 3 changes [History diff]2001-04-18 06:46:04
Log in (anonymous is fine) to add a comment.