OpenBCM V1.07b12 (Linux)

Packet Radio Mailbox

DB0FHN

[JN59NK Nuernberg]

 Login: GUEST





  
VK2ZRG > TECH     17.12.05 14:58l 36 Lines 1380 Bytes #999 (0) @ WW
BID : 1840_VK2ZRG
Read: GUEST DL1LCA OE7FMI
Subj: A programming problem
Path: DB0FHN<DB0NOE<DB0GAP<DB0FSG<DB0MRW<DB0ERF<DB0FBB<DB0IUZ<DB0GOS<DB0RES<
      DK0WUE<I0TVL<VK2TGB<VK2IO<VK2AAB<VK2WI
Sent: 051216/1044Z @:VK2WI.#SYD.NSW.AUS.OC #:1076 [SYDNEY] FBB7 $:1840_VK2ZRG
From: VK2ZRG@VK2WI.#SYD.NSW.AUS.OC
To  : TECH@WW

VK2ZRG/TPK 1.83d Msg #:1840  Date:16-12-05  Time:5:55Z

Hello programmers,
                  I was trying out my latest programme called TPK-LIST on
the windoze test box and found that I was getting an error when the 
programme tried to backup a file by renaming it. There was no error
reported when the programme was run under DOS. The error value was 5
which is "File access denied".

  I tried IBM DOS 6.0, DOS 7.1 AKA win98, and DOS 8.0 AKA win_me, and didn't
get an error message with any DOS version. My windoze test box has win_me
as the OS. The problem was found to be, that the file that was being renamed
was still open. I know I should have closed it first, but I forgot.
  The problem is fixed now with the addition of a close file statement.

  Has anyone a suggestion as to why I didn't get an error reported when
the programme was running in DOS?  

  My MS DOS programmers Manual does say that the file shouldn't be open
if it is to be renamed, so one would expect to get a DOS error if it was;
but it didn't give one! It does give the usual error values for other
goofs like trying to write to a file that's not open etc.

Thanks in advance for any suggestions.

73s from Ralph VK2ZRG@VK2WI.#SYD.NSW.AUS.OC
/ack

 Taglines Version 1.00, by Colin Coker G4FCN

C Program run, C Program Crash...ReWrite in Pascal!



Read previous mail | Read next mail


 07.10.2024 03:19:10lGo back Go up