From: Dirk B. <db...@us...> - 2006-02-09 18:02:03
|
Update of /cvsroot/win32forth/win32forth/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27763/doc Modified Files: p-relnotes.6.12.htm Added Files: p-noconsole.htm Log Message: Helper words for turnkey applications that don't need the console window and the w32fConsole.dll added. Index: p-relnotes.6.12.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/p-relnotes.6.12.htm,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** p-relnotes.6.12.htm 15 Jan 2006 11:07:27 -0000 1.7 --- p-relnotes.6.12.htm 9 Feb 2006 18:01:44 -0000 1.8 *************** *** 219,222 **** --- 219,223 ---- <li><a href="../src/tools/AxConInfo.f">src/tools/AxConInfo.f - Shows informations about an ActiveX control</a></li> <li><a href="p-dexh.htm">DexH - Document Extractor</a></li> + <li><a href="p-noconsole.htm">Helper words for turnkey applications that don't need the w32fConsole.dll</a></li> </ul> --- NEW FILE: p-noconsole.htm --- <html> <head> <meta http-equiv="Content-Language" content="en-gb"> <meta name="GENERATOR" content="dexh00"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title> </title><style><!-- h1 { font-family: Tahoma; font-size: 24pt; font-weight: bold } h2 { font-family: Tahoma; font-size: 18pt; font-weight: bold } --> </style> </head> <body><h1 align="center"> <a href="mailto:win...@ya...?subject=DOC:Doc error in $Id: p-noconsole.htm,v 1.1 2006/02/09 18:01:44 dbu_de Exp $"> <img border="0" src="TELLUS.gif" align="left" width="32" height="32"></a> <img border="0" src="FORTHPRO.gif" width="32" height="32"> Win32Forth</h1> <hr /><h1>No console </h1><hr /><h3><i>Helper words for turnkey applications that don't need the console window and the <i> w32fConsole.dll </i>. </i></h3><p></p><p>To use this words you must load the file <i> src/console/NoConsole.f </i> first. </p><h2>Glossary </h2><pre><b><a name="0">: MessageLoop ( -- ) \ W32F console </a></b></pre><p>The message loop for the application. Use this instead of: <i> BEGIN KEY DROP AGAIN </i>. </p><pre><b><a name="1">: NoConsoleIO ( -- ) \ W32F console </a></b></pre><p>Setup of the Console I/O for turnkey applications that don't need the console window. </p><pre><b><a name="2">: NoConsoleInImage ( -- ) \ W32F console </a></b></pre><p>Tell Imageman that we don't need the w32fconsole.dll if possible. </p><h2>Example </h2><pre>: Main ( -- ) \ things to do to start the application ... \ enter the message loop Turnkeyed? IF MessageLoop bye THEN ; turnkey? [if] \ Setup the console I/O NoConsoleIO \ Tell Imageman that we don't need the w32fconsole.dll. NoConsoleInImage \ Create the exe-file ' Main turnkey PlayVirginRadio.exe \ add the Application icon to the EXE file s" apps\PlayVirginRadio\Virgin.ico" s" PlayVirginRadio.exe" AddAppIcon 1 pause-seconds bye [else] s" apps\PlayVirginRadio\Virgin.ico" s" PlayVirginRadio.exe" AddAppIcon Main [then] </pre><p>For a full working example see <i> apps/PlayVirginRadio/PlayVirginRadio.f </i>. </p><hr><p>Document $Id: p-noconsole.htm,v 1.1 2006/02/09 18:01:44 dbu_de Exp $</p> </body></html> |