View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
Below is a suggested version of fw_enter.prg for us to use, from Foxweb Support. We're running Foxweb 1.29c.
I added this line --   strtofile("Started " + ttoc(datetime()), "C:\program files\foxweb\fw_enterRan.txt", .t.) 
 
I've tried putting the program in     C:\program files\foxweb       C:\program files\foxweb\programs
C:\inetpub\scripts   ,  F:\foxweb  ( which is where our program root points )   and in
F:\foxweb\programs           After stopping and starting Foxweb each time, I can't see that it's executing this program.
 
 
* fw_enter.prg
#DEFINE TOTAL_BUFFER_SIZE 1300000000
#DEFINE TOTAL_CHANNELS 4
IF TYPE("FW_CompletedFirstTime") = "U"
* The following code only gets executed during
* startup and after each "serious" error
PUBLIC FW_CompletedFirstTime
FW_CompletedFirstTime = .T.
=SYS(3050, 1, TOTAL_BUFFER_SIZE / TOTAL_CHANNELS)
=SYS(3050, 2, TOTAL_BUFFER_SIZE / TOTAL_CHANNELS)
ENDIF