First,
EXECUTE FILE isn't understood by the compiler. _HB_FUN__EXECUTE is reported as an unresolved external, when the application is compiled as a console app.
In fact, I can't even find EXECUTE FILE defined anywhere. I did a global search through all the .CH files, and it's nowhere in the Minigui distribution.
Second,
Yesterday I was able to include ShellExecute (although I don't recall how). However, when the application is run, the text mode/console menu doesn't display.
Right now, I can't figure out how to include ShellExecute. It's reported as undefined.
At any rate, Pete's solution worked perfectly. It uses standard HB_RUN().
https://drive.google.com/file/d/126Z-Kf ... sp=sharing
serge_girard wrote: ↑Wed Aug 31, 2022 3:26 pm HGAut
What is text-mode app? You mean DOS screen? Then this works:
Code: Select all
FUNCTION Main REQUEST HB_GT_WIN_DEFAULT cAPP := 'c:\Progra~1\Google\Chrome\Application\chrome.exe ' EXECUTE FILE "&cAPP " PARAMETERS 'www.google.com/search?q=what+the' return