Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ Classes in FLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00811004
Message ID:
00812034
Vues:
39
Pete,

Does it return 4 as a value though? You are supposed to do a left( lcStr, Dequote( len( lcStr ), @lcStr ) ) because the code is doing an in-place shuffle of the bytes and it can't directly alter the string length as far as VFP is concerned. This works for me:

declare integer DeQuote in dequote.dll integer nBufferLength, string @ cBuffer
lcData = 'Pete"'
lnNewLen = DeQuote( len( lcData ), @lcData )
? left( lcData, lnNewLen ) + "<"

>Hello David, I already checked your site and have used your dll method ( the def file ), thanks for that, BTW if I call your dequote function with 'Pete"' as a parameter value, I get 'Petee' returned
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform