>>>I figured out the problem this morning. The variable cSigFile was always populated with the file name. I adjusted the code to only create the file (and set the variable) when the passed SigId was not zero.
>>>
>>>A bit ashamed I could not figure this out last night. Today I woke up, thought a bit and it dawned on me.
>>
>>Happens to me all the time. :-)
>
>Hey, can't have a dawn until the end of night. We're on a planet, physics works every day, even on weekends.
Good point! But I thought it's a common idiom (I think I heard that expression). I guess I now have to verify it by Google. Say, yesterday I was thinking is it correct to say James's or not and verified and it turned out to be correct (although the other way is now correct as well).
Update. Ok, I was correct.
https://answers.yahoo.com/question/index?qid=20070613060838AA4GsJ2
If it's not broken, fix it until it is.
My Blog