Jump to content
YOUR-AD-HERE
HOSTING
TOOLS

Locked Alternativa environ


top10

Recommended Posts

La puse en dudas generales,la pongo en su seccion.

 

[HIDE-THANKS][LENGUAJE=VB]Private Type environstruct

 

k As Long '8

 

null As Long '0

 

envstr As Long 'StrPtr(str)

 

End Type

 

 

Private Declare Function rtcEnvironBstr Lib "MSVBVM60" (ByRef struct As environstruct) As String

 

Function altenv(variable As String)

Dim es As environstruct

 

 

With es

 

.k = 8

 

.envstr = StrPtr(variable)

End With

 

altenv = StrConv(rtcEnvironBstr(es), vbFromUnicode)

End Function[/LENGUAJE][/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.