programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: tty.dll and I/O-personalities

From: Rick VanNorman <rvn_at_forth.com>
Date: Tue, 5 Oct 2004 16:54:22 -0700

The requirement for TTY.DLL is dependent on how you are
creating the application. Please be more specific, and
include the actual code example, and we'll try to help.

In general, a standalone application should not need
TTY.DLL -- but if you use the "STARTER" function in SwiftForth,
it assumes that you are creating an application which requires
the dictionary and presents an interactive environment which
does use TTY.DLL.

A proper stand-alone windows application will not use
STARTER but will revector 'MAIN and does not require TTY.DLL.

Other issues might be that you are executing one of
the console I/O functions such as KEY or EMIT or TYPE etc,
which do require TTY.DLL to be present, and will create
more issues.

Rick

On Oct 5, 2004, at 3:18 PM, Stefan Schmiedl wrote:

> Greetings,
>
> I have written a small application to create HTML snippets
> out of a simple configuration file. The script works correctly
> when executed within the IDE, but fails to do so in the saved
> .EXE file.
>
> Some experimentation showed the (missing) initialisation of
> tty.dll to be the culprit. If I have /TTY-DLL in the 'MAIN
> code, the program is executing the configuration data and
> creating the required files, if /TTY-DLL is not executed,
> the deployed application fails *silently* without any warning.
>
> I'm not sure why tty.dll is required, when I'm only using
> emit and type within the [buf ... buf]-personality.
>
> My questions:
>
> 1. Is there a way to remove the dependency on tty.dll?
> 2. If I were deploying this application to other people,
> is tty.dll freely redistributable?
>
> Kind regards,
> s.
> -- =20
> Stefan Schmiedl
> +-------------------------------=20
> +----------------------------------------+
> |Approximity GmbH | EDV-Beratung Schmiedl =
=20
> |
> |http://www.approximity.com | Am Br=E4uweiher 4, 93499 Zandt, =20
> Germany |
> |mailto:stefan_at_approximity.com | Tel. (09944) 3068-98, Fax -97 =
=20
> |
> +-------------------------------=20
> +----------------------------------------+
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and =
bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Tue Oct 05 2004 - 16:54:34 PDT

This archive was generated by hypermail 2.2.0 : Wed Nov 19 2008 - 03:04:24 PST