>>>>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.
You shouldn't take my pokes at language seriously :).