Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing event parameters in a prg
Message
De
06/04/2009 21:45:51
 
 
À
05/04/2009 11:57:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01393307
Message ID:
01393564
Vues:
51
I don't have a form so there are no visual cues like lightening bolts.

I thought I'd trying using the @ sign to pass the parameters back by reference and I get this error message:

Message 1426:
OLE error code 0x80020006: Unknown name.

for this line of code:

loFtp.FTPReply("Connect", @lnReplyCode, @lcReplyText)

Any other ideas how to return the ReplyCode and ReplyText from the FTPReply event in the wodFTPdlx software?

The rest of the code I'm using to call this event and write ReplyCode and ReplyText to a file is:

* 090404 smr: Call FTPReply to send to WOD
lnReplyCode = 0
lcReplyText = ""
loFtp.FTPReply("Connect", @lnReplyCode, @lcReplyText)
DisplayError(-1, "FTPReply after 'Connect': "+STR(lnReplyCode)+" / "+lcReplyText)
* 090404 End of FTPReply debug code.

Thanks.
Susan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform