Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTPCommand, WinInet
Message
De
13/03/2006 11:44:33
Markus Depken
Ta-Logistic Software Gmbh
Bremen, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
01103703
Message ID:
01103803
Vues:
20
Done with VFP 9.

Errorcode is 12018.


>What VFP version are you using? If it's not VFP9 than you have to issue GetLastError() right after call to WIN API, otherwise it can be reset. See http://blogs.msdn.com/calvin_hsia/archive/2005/09/26/474084.aspx
>
>>Sorry. Here is the complete code.
>>But both values are empty (0 and "").
>>
>>==> THIS.nResult_Code = 0 &&(GetLastError(), see below)
>>
>>Function getextendederror
>>LOCAL lcMessage, lnError, lcBuffer
>>
>>THIS.nResult_Code = GetLastError()
>>
>>lnError = 0
>>lcBuffer = SPACE(MAX_PATH)
>>
>>InternetGetLastResponseInfo(lnError, @lcBuffer, MAX_PATH)
>>
>>THIS.nExtended_Result = lnError
>>THIS.cExtended_Message = LEFT(lcBuffer, AT(cNULL, lcBuffer) - 1)
>>wait window "Aufruf: " + transform(THIS.nExtended_Result) + " " + THIS.cExtended_Message
>>
>>RETURN
>>
>>
>>
>>>The 0 return value indicates the error during FtpCommand execution. What is returned by GetLastError()? You can use Apierror() function from Re: CopyFile API Problems with HP LaserJet 4000 Message #883304 to get a message for GetLastError() code.
>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform