Dear friends,
now i came to c:\modHarbourSource\mod_harbour-master\source\apache.prg on our system.
Please can you help me once again to understand... it says
but then in the "official" environment variables of my windows system i can´t see it. maybe it is stored somewhere else?
and also i wondered what would happen if accidentally I would have an environment variable named "PRGPATH" defined manually in windows - would this cause some kind of conflict?
thank you very much again for your being so kind and so patient and have a nice evening
Ruth
if File( cFileName )
hb_SetEnv( "PRGPATH",;
SubStr( cFileName, 1, RAt( "/", cFileName ) + RAt( "\", cFileName ) - 1 ) )
if Lower( Right( cFileName, 4 ) ) == ".hrb"
pThread = hb_threadStart( @ExecuteHrb(), hb_HrbLoad( 1, cFileName ), AP_Args() )
else
pThread = hb_threadStart( @Execute(), MemoRead( cFileName ), AP_Args() )
endif
if hb_threadWait( pThread, Max( Val( AP_GetEnv( "MHTIMEOUT" ) ), 15 ) ) != 1
hb_threadQuitRequest( pThread )
ErrorLevel( 408 ) // request timeout
endif
InKey( 0.1 )
else
ErrorLevel( 404 ) // not found
endif