Torna al Thread

//Vecchia dichiarazione (remmata) che, nel Framework 4.0, non passava "CallingConvention.Cdecl" //Declare Function GetConnectionStatus Lib "ApiDll" (ByRef NodeNumber As Int16, ByRef BNumber As Byte, ByRef GatewayControlIpAddrOfNode As Int32, ByRef GatewayControlIpPortOfNode As Int16, ByRef NodeDescriptionString As String) As Int32 //Nuova dichiarazione della funzione per Framework 4.0 <DllImport("ApiDll.dll", CallingConvention:=CallingConvention.Cdecl)> _ Public Shared Function GetConnectionStatus(ByRef NodeNumber As UInt16, ByRef BNumber As Byte, ByRef GatewayControlIpAddrOfNode As UInt32, ByRef GatewayControlIpPortOfNode As UInt16, ByRef NodeDescriptionString As String) As Int32 End Function
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5