DOS Window - how to avoid it ?
Blitz3D Forums/Blitz3D Programming/DOS Window - how to avoid it ?
| ||
Hi all. I have an application which needs to compress an audio file. I use an external program to compress it (gzip.exe), and I execute it from within Blitz (via ExecFile command). The problem: when the external application runs, it shows for a while a DOS window, which 'disturbs' in some way the feeling of the game. So I wonder, is there any solution to this ? - is there any free file compresser which works without showing any flashing window during the process ? OR - is there any compress library or API which can be used from within B3D or B+ ? - is there any way to hide that DOS window that pops up ? OR - is there any wav-->ogg file compresser which converts the file automatically, and without showing anything ? Thanks for your help, Sergio. |
| ||
Ogg is open source, you can write your own. |
| ||
Thanks Rob, that was a good hint indeed. :) It's incredible the amount of useful things which are available in internet ! Sergio. |
| ||
That, will be difficult. :/ |
| ||
Maybe this will help you: http://www.rebirthing.co.nz/Runfile.html |
| ||
jfk - Runfile looks interesting, but the download links are dead. Do you have a copy? |
| ||
I can write you a DLL to do this if you wish Semar. Shouldn't take more than 3 minutes :) ah well.. did take 3 minutes: Get it here! (2.5kb) Tracer |
| ||
Well, tracers DLL or this: http://www.northcode.com/resources/utilities/run.html while you still should use the Manual from http://www.rebirthing.co.nz/Runfile.html I guess you'd need to ExecFile "runfile.exe CMD=mydosApp.exe" |
| ||
First of all, a bit THANK YOU to your answers, in particular Tracer and jfk EO-11110. :) Fact is, before to read your answer, I've solved the whole DOS nasty screen using CreateProcess from within BlitzPlus, and it works like a charm ! Anyway, I *do* find very useful your DLL Tracer, because it may be used also from within Blitz3D which has not CreateProcess command. Best regards, Sergio. |