This site uses cookies own and third. If you continue to browse consider to accept the use of cookies. OK More Info.

[SRC] String Alternativo

  • 0 Replies
  • 4581 Views

0 Members and 1 Guest are viewing this topic.

Offline Yuki

  • *
  • Underc0der
  • Posts: 66
  • Actividad:
    0%
  • Reputación 5
    • View Profile

[SRC] String Alternativo

  • on: March 04, 2015, 12:37:42 pm
El codigo de String Alternativo usando la API FillMemory

Code: You are not allowed to view links. Register or Login
Option Explicit
Private Declare Sub FillMemory Lib "kernel32.dll" Alias "RtlFillMemory" (Destination As Any, ByVal Length As Long, ByVal Fill As Byte)

Private Function StringAlternativo(ByVal Longitud As Long, ByVal Caracter As Byte) As String
Dim Str As String
Str = Space(Longitud)
FillMemory ByVal Str, Longitud, Caracter
StringAlternativo = Str
End Function
« Last Edit: March 04, 2015, 12:39:30 pm by Yuki »