RUN/SHELL/EXEC

New to FreeBASIC? Post your questions here.
jmgbsas
Posts: 35
Joined: Dec 26, 2020 16:03

Re: Re:

Post by jmgbsas »

jj2007 wrote:
marcov wrote:Since afaik there is only an ascii version, you'd have to use utf8 manifesting (win10 1905+). But I don't know if that works for win 3.1x calls. Did you test?
No, I don't have a Win10 machine at hand right now. Utf8 should only be a problem if you use non-Ansi executable names.
jmgbsas wrote:I need an asynchronous call
If you are on Windows, try WinExec("name.exe", SW_RESTORE)
Oh I will,
I know little of all
Yes! run very good ,I am in windows yes...
Thanks a lot
jmgbsas
Posts: 35
Joined: Dec 26, 2020 16:03

Re: Re:

Post by jmgbsas »

jj2007 wrote:
marcov wrote:Since afaik there is only an ascii version, you'd have to use utf8 manifesting (win10 1905+). But I don't know if that works for win 3.1x calls. Did you test?
No, I don't have a Win10 machine at hand right now. Utf8 should only be a problem if you use non-Ansi executable names.
jmgbsas wrote:I need an asynchronous call
If you are on Windows, try WinExec("name.exe", SW_RESTORE)
With the SW_RESTORE option it gave me another additional benefit, I was using GDI in screenControl, but with winexec the application starts open not minimized without using GDI, I can use Directx now in 64 bits windows . Thanks!
Post Reply