hmmm... So the executable could well be runing though? It just isnt writing the file, in that case i would double check the share permisions. Also it might be worth using WriteProfileString and seeing if you can create a log file.
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields