Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conversion of a special character
Message
 
 
À
16/03/2010 23:27:31
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01454996
Message ID:
01455000
Vues:
45
This message has been marked as the solution to the initial question of the thread.
>I have this in VFP:
>
>
>DECLARE INTEGER InternetWriteFile IN WinINet.dll ;
>  INTEGER nFile, STRING cBuffer, ;
>  INTEGER nToWrite, INTEGER @ nWritten
>
>
>This is as close as it gets in VB.NET:
>
>
>        Private Declare Function InternetWriteFile Lib "WinINet.dll" _
>         (ByVal nFile As Integer, ByVal cBuffer As String, _
>          ByVal nToWrite As Integer, ByVal @ nWritten As Integer) As Integer
>
>
>The problem is the @ character. What would be required to complete this conversion in VB.NET?

ByRef instead of ByVal
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform