Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/06/2011, 08:46
javiquero
 
Fecha de Ingreso: octubre-2010
Mensajes: 12
Antigüedad: 14 años
Puntos: 0
Microsoft Binary Format

Hola a tod@s,

A ver si me podéis echar una mano, necesito pasar esta función que tengo en una aplicación asp a php:

Código PHP:
Private Declare Sub DxToIEEEd Lib "mbfiee32" (ByRef X As Byte)

Private Function 
CVDMBF(ByRef bTmp() As Byte) As Double
        CVDMBF 
0
        DxToIEEEd
(bTmp(0))
        
Dim objDouble As Object CDbl(0)
        
Dim MyGC As System.Runtime.InteropServices.GCHandle System.Runtime.InteropServices.GCHandle.Alloc(objDoubleSystem.Runtime.InteropServices.GCHandleType.Pinned)
        
Dim AddofLongValue As IntPtr MyGC.AddrOfPinnedObject()
        
System.Runtime.InteropServices.Marshal.Copy(bTmp0AddofLongValue8)
        
MyGC.Free()
        
CVDMBF objDouble
    End 
Function CVDMBF 
He estado buscando en la documentación de php, en google y no encuentro nada sobre el tema.

Muchas gracias