Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Sat May 10, 2008 10:20 pm   

CMUD 225 - Closing a window disables COM object
 
I have verified that closing a window either via the #CLOSE command or by clicking the window shut, makes COM objects become unusable.
_________________
Sic itur ad astra.

Last edited by Anaristos on Sun May 11, 2008 7:05 pm; edited 1 time in total
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Sat May 10, 2008 11:30 pm   
 
Confirmed.
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed May 21, 2008 8:12 pm   
 
Which specific COM objects are you trying to use that become unusable?
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Wed May 21, 2008 9:58 pm   
 
I was able to confirm this behaviour using either the Python DB component I made or the Scripting.Dictionary component.

Code:
#var dict %comcreate( "Scripting.Dictionary")
#call @dict.Add("A","Count=1")

#echo Before Opening Window:@dict.Item("A")
#win bob
#wa 500
#echo After Opening Window:@dict.Item("A")
#close bob
#wa 500
#echo After Closing Window:@dict.Item("A")
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
Anaristos
Sorcerer


Joined: 17 Jul 2007
Posts: 821
Location: California

PostPosted: Wed May 21, 2008 11:13 pm   
 
I have 4 COM objects that point to different SQL databases. I create the objects similarly to how Dharkael did it in his test. I create my objects during the onLoad event.
_________________
Sic itur ad astra.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed May 28, 2008 7:03 pm   
 
Added to bug list.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net