Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion of a special character
Message
 
 
To
16/03/2010 23:27:31
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01454996
Message ID:
01455000
Views:
44
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform