How's this for a strange problem? - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: How's this for a strange problem? (/showthread.php?tid=50263) How's this for a strange problem? by RaceProUK on 09-09-2005 at 01:08 PM
I've added a new configuration setting to Phoenix (so yes there will be at least one new feature soon), but it's triggered some very weird behaviour. It's a simple BOOL, like most other config settings, but it's value determines whether it crashes Messenger or not RE: How's this for a strange problem? by Mnjul on 09-09-2005 at 01:48 PM Would you tell us what else codes are using the BOOL variable? Also, if you try to declare it as LONG and assign an initial value when you declare it, would that stop Messenger from crashing? RE: How's this for a strange problem? by RaceProUK on 09-09-2005 at 04:01 PM
Apart from a few if (boolVar), I use it in only SendMessage(), RegSetValueEx() and RegQueryValueEx() (typecasted to the correct type of course). RE: How's this for a strange problem? by Mnjul on 09-10-2005 at 03:35 AM Hmm... what I see could be wrong is SendMessage... I know perhaps you use SendMessage for other bool variables and it does work for them, but...would you give us the codes for the crashing one? RE: How's this for a strange problem? by RaceProUK on 09-10-2005 at 09:18 PM
I actually found the problem, and it's got nothing to do with what I do with the variable. It's actually what I was doing as a result of an if test on the variable i.e. the piece of code i was working on was causing the problem. I've now fixed it so it won't happen again |