oh ya.. same result with C++ fstreams, works fine w/ command line arguments and normal click execution, but dragging and dropping doesnt work at all with creating the actual file (its loaded into memory fine but nothing on the disk) even though it is practically the exact same thing as
\programname.exe filename.txt etc
sending the same command line arguments to the program through argv... sigh