2013-03-22, 16:48
(2013-03-22, 14:13)mjeyre Wrote: I managed to resolve the cache issue today but now i have a new problem after the flush when you change channel it defaults back to sky one. I can fix this but only at the moment by making an individual exe for each channel ID.
i used a simple killtask /im skygo.exe /f
then the flush code then relaunch the exe
so i have 2 exes skygorun.exe and skygo.exe
the skygo flushes and kills any existing skygo program and then flushes again and launches the skgorun.exe which runs and takes me to sky one.
need a way to make it hold the channel number
Mike
Awesome work Mike.
So the channel argument applied to skygo.exe needs to be passed from the skygo.exe to skygorun.exe?
My basic understanding of this - the argument is applied to first exe then passed to second when launched.
If you use this to launch skygorun within the skygo.exe it should pass the argument applied to skygo.exe
system("skygorun.exe arg1");