From: Jessica P. H. <jph...@ar...> - 2003-06-25 15:45:08
|
On Fri, 20 Jun 2003, Chris Dawson wrote: > if (_curWin == win ) > { > if( NULL != currentName && NULL != storedName && > 0 == strcmp( currentName, storedName ) ) > { > ret = false; > } > else > { > printf( "Names changed, resetting.\n" ); > _curWin->window = wx; > ret = true; > } > } It seems like your test to see if the names have changed isn't returning the right answer. I'd check to see what's going on here if( NULL != currentName && NULL != storedName && 0 == strcmp( currentName, storedName ) ) When your application changes its name, what does currentName get set to? What happens when you compare currentName and storedName? I'd probably just add some print statements to print out the values and see what's happening. Let us know what you find out. Jessica [obnoxious Yahoo/eGroups ad removed] ------------------------------------------------------------------------ Note: This email was posted on a previous mailing list which has now (July 2003) moved to http://sourceforge.net/projects/xvoice/ ------------------------------------------------------------------------ |