M
Mark
hi...
i have a program that opens a couple files and performs some operations
on them.
i wanted to modify my program so that if you drag and drop a file onto
the exe via windows, it will open this file and use it instead.
however, without even modifying my code first, if i drag and drop a
file onto the exe it no longer opens/writes to the files specified by
the program. but when no file is dragged onto it, it runs fine as
normal.
now i assumed that when you drag a file onto the exe it just passes in
an extra parameter.. i dont understand why this should modify the way
the program is run.
any explanation?
i have a program that opens a couple files and performs some operations
on them.
i wanted to modify my program so that if you drag and drop a file onto
the exe via windows, it will open this file and use it instead.
however, without even modifying my code first, if i drag and drop a
file onto the exe it no longer opens/writes to the files specified by
the program. but when no file is dragged onto it, it runs fine as
normal.
now i assumed that when you drag a file onto the exe it just passes in
an extra parameter.. i dont understand why this should modify the way
the program is run.
any explanation?