Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: How to crea...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 17 Topic 950 of 1022
Post > Topic >>

Re: How to create an .exe file

by Gosi <gosinn@[EMAIL PROTECTED] > Feb 5, 2008 at 09:20 AM

On Feb 5, 4:53=A0pm, Veli-Matti <veli-matti.jantu...@[EMAIL PROTECTED]
> wrote:
> >> you probably don't have a Dyalog interpreter on your pc
> >> veli-matti included the Dyalog Runtime int. and that will be closed
> >> for obvious reasons.
>
> >> one need to package the necessary Runtime int. + the pertinent WS's
>
> > Created and tested on the same pc
>
> > =A0 =A0 =A0 )LOAD "C:\Windows\system32\testa.DWS"
> > C:\Windows\system32\testa saved Tue Feb 05 14:08:11 2008
> > =A0 =A0 =A0 fun
>
> > 4 5 6 4
> > 5 6 4 5
> > 6 4 5 6
>
> > works fine direct but not executable
>
> I really skipped some obvious points including:
>
> - you need either to make some kind of GUI and launch it with []DQ '.'
> or your executable needs to handle the input and output in some clever
> way (I have made batches that start with the executable and some
> parametres, the io is always used via text files); in both cases there
> MUST be something sensible in the []LX
>
> - you cannot have/use Session (and that's why you got the error message)
>
> - there are (at least) two ways to make runtime apps: either packaging
> the workspace to an executable and delivering it with the runtime dll or
> just having the Dyalog runtime interpreter with the []LX'ed workspace
> (the former method needs a little bit more work to do, but you get a
> 'standard' Windows solution with dynamic memory handling, the latter is
> more or less straighforward way to do the same thing, but you have to
> advise the user to launch it with something like
> =A0 =A0 =A0 =A0 [Drive:][path]DyalogRuntime.exe Application.dws
>
> Hmmm.. =A0reading the manual might be a goood idea here?
>
> Yours
> - Veli-Matti

how about just a very simple step by step example what to do to create
a .exe that can be distributed and what files need to be distributed
together with it.

The application should read a file with the content

--------
hello world
-----------

The application then creates and writes a file with the content

----------
goodby world
------------


This is a very standard thing normal computer languages can and do.

I have never seen an APL application been able to do this.

Even J can not do this.

Create an .exe and do the rest, that is.

Not having an .exe has been a major disadvantage in the APL
environment.
Now being able to do it is Dyalog is really a huge step forward.

Having a very simple description HOW and WHAT to do it is a huge major
step too.

If we had had this feature years ago we would not have been fending
off and dodging the compiler question all the time.
It is not a question of having a compiler it has and is always THE
question: " can you create a .exe? =A8"

If now yes the " HOW? "




 17 Posts in Topic:
How to create an .exe file
Posh <poshasposh@[EMAI  2008-02-04 03:27:32 
Re: How to create an .exe file
"jk" <*axy*@  2008-02-04 13:05:43 
Re: How to create an .exe file
Veli-Matti <veli-matti  2008-02-04 23:10:23 
Re: How to create an .exe file
AAsk <AA2e72E@[EMAIL P  2008-02-05 05:39:27 
Re: How to create an .exe file
Gosi <gosinn@[EMAIL PR  2008-02-05 06:37:57 
Re: How to create an .exe file
"jk" <*axy*@  2008-02-05 15:54:03 
Re: How to create an .exe file
Gosi <gosinn@[EMAIL PR  2008-02-05 07:28:47 
Re: How to create an .exe file
Veli-Matti <veli-matti  2008-02-05 18:53:39 
Re: How to create an .exe file
Gosi <gosinn@[EMAIL PR  2008-02-05 09:20:40 
Re: How to create an .exe file
microapl@[EMAIL PROTECTED  2008-02-05 09:33:52 
Re: How to create an .exe file
Gosi <gosinn@[EMAIL PR  2008-02-05 09:59:01 
Re: How to create an .exe file
Morten Kromberg <mkrom  2008-02-05 23:00:55 
Re: How to create an .exe file
microapl@[EMAIL PROTECTED  2008-02-06 01:30:49 
Re: How to create an .exe file
Gosi <gosinn@[EMAIL PR  2008-02-06 02:12:41 
Re: How to create an .exe file
Gosi <gosinn@[EMAIL PR  2008-02-06 03:38:28 
Re: How to create an .exe file
Gosi <gosinn@[EMAIL PR  2008-02-06 05:12:53 
Re: How to create an .exe file
Gosi <gosinn@[EMAIL PR  2008-02-06 05:14:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 4:38:41 CDT 2008.