Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked sMyPathExMetal [Ported to Delphi] [version mejorada]


Expermicid

Recommended Posts

[lenguaje=delphi](*

Fecha: 5-10-2012

Función mejorada y acortada

Reparado bug al medir longitud del resultado

*)

Function sMyPathExMetal():String;

var

sParams: String;

L: Byte;

begin

SetLength(sParams, MAX_PATH);

L:= GetModuleFileName(0, PChar(sParams), MAX_PATH);

SetLength(sParams, L);

SetLength(Result, L);

Result := sParams;

end;[/lenguaje]

 

Autor: Metal_Kingdom

Edited by Expermicid
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.