Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem passing an array by reference as a parameter
Versions des environnements
Network:
Windows 2003 Server
Hi,
I am receiving an error when I compile a VFP exe.
I am attempting to pass an array by reference to an object using strong typing. The calling program calls the object using the @ before the array it is passing:
.oft.copyfiles(@lafiles,"pathnamehere", 2)
The object has this parameter statement:
LPARAMETERS tafiles AS ARRAY, tctgtpath AS CHARACTER, tcmode AS INTEGER
However, when I compile the exe, I always get this error:
Visual Class Library ...\class\ftools.vcx has the following errors:
Unknown TAFILES - Undefined
I have tried various fixes to no avail.
Is anyone familiar with this problem?
Many thanks for any assistance.
John
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement