Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C0000005 with TEXTMERGE()
Message
De
11/06/2002 18:28:11
 
 
À
11/06/2002 07:45:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00666832
Message ID:
00667128
Vues:
30
This message has been marked as a message which has helped to the initial question of the thread.
C5 errors are typically buffer overruns, sometimes caused by the C++ programmer mistakenly expecting a string to be null-terminated. So if you see a C5 error, and you know what function or command it is occurring in, the first thing to do to work around the issue is to try null-terminating your strings.

In experimenting with the TEXTMERGE(), I find that null-terminating the string prevents the C5 error.

lcMergedString = TEXTMERGE(lcMyString + CHR(0))

I can't guarantee it will solve the problem for you, but it is worth try. MSFT is aware of this particular issue.

(This posting is provided "AS IS" with no warranties, and confers no rights. )
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform