Winopen does not work on executable
5 次查看（过去 30 天）
I've packaged it (winopen) in another app and it works fine. Looking at the above code snippet, I'd hypothesize your problem is that you're not using the fully-qualified filename to open and so it isn't finding the file -- but winopen unfortunately doesn't include any return parameter to report on its success in that regards; you could(*) do an exist on the filename first to ensure it does exist and is found first.
(*) Probably "should" instead of "could" is more appropriate