CurDir()

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

CurDir()

Post by Antonio Linares »

Usad este CurDir():

Code: Select all

function FWCurDir()

   local cExeName := GetModuleFileName( 0 )

return SubStr( cExeName, 1, RAt( "\", cExeName ) - 1 )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
rogerio
Posts: 83
Joined: Wed Nov 09, 2005 11:22 pm
Location: São Lourenço da Serra - SP - Brasil
Contact:

Re: CurDir()

Post by rogerio »

Antonio

Maravilha !

Isso resolveu o erro que postei há anos:
http://forums.fivetechsupport.com/viewt ... f=7&t=4623

O erro estava justamente na função CurDir()
Com FWCurDir() funcionou perfeitamente !

[]'s

Rogerio
Post Reply