Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Akow, SBGuy), 1,423 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
can i call and run external program #10080
08/14/02 10:28
08/14/02 10:28
Joined: Jun 2002
Posts: 724
atlantic canada
pocorev Offline OP
Developer
pocorev  Offline OP
Developer

Joined: Jun 2002
Posts: 724
atlantic canada
i'm wondering if it's possible to call and run an external program;utility; or even (gasp) another engine, from within a-5.

some of my current plans are hinging upon this possibility.

the idea is, to be running an a-5 level and at a certain point call this external prog to run... when the external tasks are completed i wish to return to the a-5 level environment. my desire is to do this as seemlessly as i can, but of course it would help to know if it's even possible. (grin)

if any of you folks can shed a little light on this it would be very helpful

Re: can i call and run external program #10081
08/15/02 03:48
08/15/02 03:48
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
WDL manual p74.
exec(s1,s2);


Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Re: can i call and run external program #10082
08/15/02 06:49
08/15/02 06:49
Joined: Jun 2002
Posts: 724
atlantic canada
pocorev Offline OP
Developer
pocorev  Offline OP
Developer

Joined: Jun 2002
Posts: 724
atlantic canada
thanks doug... greatly appreciated

Re: can i call and run external program #10083
08/20/02 11:22
08/20/02 11:22
Joined: Sep 2000
Posts: 300
Ohio, USA
V
vrkaya Offline
Senior Member
vrkaya  Offline
Senior Member
V

Joined: Sep 2000
Posts: 300
Ohio, USA
Doug or fellow-users,

I'm looking at page 74, but whatever I do, my external program is not running. I've tried this:

exec("A5Test.exe","");

and this:

exec("A5Test","");

and this:

string Program = "A5Test.exe";
exec(Program,"");

and this:

string Program = "A5Test";
exec(Program,"");

And I have double and triple-checked that my external program is in the project's directory, there's a copy in the Template dir, too (which is where my path is set). But it won't run.

Do you see anything I'm missing?

I would sure appreciate any help,
Ron

Re: can i call and run external program #10084
08/21/02 07:24
08/21/02 07:24
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline
Serious User
nfs42  Offline
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
From an old thread (Aug 2001):

command exec is supported in A4/A5 commercial and upper.
GSTools PackNLaunch has two functions GST_exec and GST_killfile (kills files only in the app directory) for use with standard versions of A4 an A5


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Re: can i call and run external program #10085
08/21/02 03:39
08/21/02 03:39
Joined: Sep 2000
Posts: 300
Ohio, USA
V
vrkaya Offline
Senior Member
vrkaya  Offline
Senior Member
V

Joined: Sep 2000
Posts: 300
Ohio, USA
Yes, I have the Commercial edition v5.24. Can't someone please list a short coding example. I cannot figure out why this won't work. Gamestudio's description is a bit vague, IMO. I'm calling the exec function from the main()function in my code, because my external program needs to start at appx. the same time as GameStudio.

Regards, Ron

Re: can i call and run external program #10086
08/22/02 20:49
08/22/02 20:49

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I asked this question in ask conitec also and conitec moved it to begginers topics, but still no answer. i have tried everything you have tried with no success, i also have commercial.
i am beginging to think it doesn't actually work.

Re: can i call and run external program #10087
08/23/02 00:58
08/23/02 00:58
Joined: Sep 2000
Posts: 300
Ohio, USA
V
vrkaya Offline
Senior Member
vrkaya  Offline
Senior Member
V

Joined: Sep 2000
Posts: 300
Ohio, USA
You know, I am having an incredible time trying to get anything done when a question poised to this forum usually, in my experience, takes about a week to get a reply, and then it is often in the form of RTFM.

I use quite a bit of software and am expert at some of them - not this one, of course - and I have never failed to help out someone with a question, when I could. I have often offered to look at their files, if my time permits, and often it has.

GameStudio appears to be a nice product, but this is about the 3rd time I have, in earnest, decided to do something with it but, invariably, the manual does not describe everything in the way that I can understand, it is sooooo slow to pry a reply from someone, and I just shelve the effort and work with other software. That's a shame. I complete many projects that I start, so I'm not a quitter.

One of the replies was read page 74 of the manual. Good advice, but take into account that if I (we) had not already read page 74 until my eyes bled, I would not even know of the existence of the exec function to ask a question about it anyway. The problem is that I have read page 74, I have tried - to the best of my abilities - to get it working on my own, but have failed to do so and am simply asking for help, just like the user who started this topic.

Isn't that what this forum is for?

Sincerely, Ron

Re: can i call and run external program #10088
08/23/02 02:23
08/23/02 02:23

A
Anonymous
Unregistered
Anonymous
Unregistered
A



HERE HERE.
In most cases RTFM works as most of the manual is good, but in this case i agree.
I understand the people at conitec are busy, but in cases where the manual is unclear they should be nice and give us an answer


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1