You can watch your file handles by using CHKDSK FH outside and inside of your
loop.
RRR
"J.M. GRATIAS" wrote:
>
> Hi all,
>
> Remember those periodics complains about problems when running RBW on NT 4
> workstations ?
>
> I have a client that is exited for RBW severals times per month when he
> ENTER/EDIT USING some forms.
> He runs RBW6.1a + my distributed app that runs OK on most others places.
>
> I went there yesterday and could look at the problem because it happen
> regularly : on some forms, probability is 25% (4 loops and he is pretty
> sure to be exited for RBW).
>
> I installed RBW 6.5++ : no change.
>
> The forms that make hang RBW are not complex (few variables, very few
> columns, 1 table) and code is simple and run with QUIT TO AsciiFile Name :
>
> SET VAR vnomform TEXT = 'dossier'
> SWITCH (.vpick12)
>
> CASE 'Ajouter'
> SET VAR vnbenr INTEGER = NULL, vmode TEXT = 'enter', +
> vcaption TEXT = 'LOGINTRA. Cr�ation des Dossiers'
> RUN coordonn IN coordonn.apx
> ENTER &vnomform AT .vx1, .vy1, .vx2, .vy2 CAPTION .vcaption
> BREAK
> CASE ....
> ENDSW
>
> I could't make it hang in TRACE mode, but it seems that problem on ENTER
> line.
>
> Then this message display 2 times (translation from french) :
> 'Instruction at '0x007140ac' use memory adress '0x00000008'. The memory
> cannot be "read"
> Press OK to close application'
>
> and then :
>
> 'The exception "unknown software exception" (0x0000027) occurs in the
> application at adress 0x77f3b28c
> Press OK to close application'
>
> Words between " are in english, rest of the message is in french.
>
> I have a complete description of hardware/software configuration, and have
> screen prints of task manager, but nothing that could help me to understand
> what happen.
>
> The users' PC has 64 Mb RAM, but same problem happen at same place and same
> adresses when running the app on a 128 Mb PC.
>
> The only good new is that we could not duplicate the problem on a W2000
> workstation ....
>
> Any new idea ?
>
> J.M. GRATIAS, Logimatique, France