Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C0000005 error in VFP6
Message
De
11/03/2003 00:51:12
 
 
À
11/03/2003 00:46:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00763538
Message ID:
00764065
Vues:
22
The lChar should be input from COM port,
it seem like the C5 error occurs when I output it
to COM port only

>How is lChar being derived?
>
>Are you by chance running the control in binary mode?
>
>Is your C5 occurring at the .Output line?
>
>>MSCOMM32 on Win2000 Professonal PC with VFP6 SP5 install and
>>Win2k SP3 install
>>
>>>What kind of control are you using to communicate with COM port?
>>>
>>>>
>>>>My application occasionally had this C0000005 error and the screen
>>>>will show the calling program line and below is the line that
>>>>indicate causing the problem. The STX,ETX and DLE are constant
>>>>define in the header file. It will output some character to the
>>>>COM port. Anyone had any ideal how to solve this problem.
>>>>
>>>>Thank you very much
>>>>
>>>> lBuf = INT(VAL(lChar))
>>>> IF lBuf = STX OR lBuf = ETX OR lBuf = DLE
>>>> THIS.OutPort(CHR(DLE))
>>>> lLRC = BITXOR(DLE,lLRC)
>>>>
>>>> ENDIF
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform