[Gambas-user] Automatic Startup

Bruce Steers bsteers4 at gmail.com
Fri Nov 4 15:58:45 CET 2022


On Fri, 4 Nov 2022 at 14:33, gian via User <user at lists.gambas-basic.org>
wrote:

> Hi Benoit, Bruce, Lee,
>
> thank you very much for the help :-)
>
>
> Il 04/11/22 11:12, Benoit Minisini ha scritto:
> > I don't understand: you never need the IDE to run a Gambas executable.
> > You just need the runtime.
>
> then the error is either in my code or in the way I create the package.
>
> If it is in the code, it is probably in this step:
> Shell "cd " & Application.Path & " && gbc3 -agt && gba3 -v -o " &/ sPath
> &/ Application.Name & ".gambas" Wait
> I think it's possible that the compiler doesn't know Application.Path,
> something about that I had read.
>
> If it is in the way I create the package it is probably always because
> of gbc3 and gba3 you need to indicate something to the compiler.
>

Does the exe get created in the correct place? sPath  (where is sPath?)

Does running application exe from a terminal give any error msg to see
what's wrong?
Does the application have options "controls are public" or "module symbols
are public" set?

Just somethings to consider.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221104/d7877a44/attachment.htm>


More information about the User mailing list