Hello Viktor, I'm linking to hbct and still is giving error that does not think this function. Below the error: SISTEMA.obj : error LNK2001: símbolo externo _HB_FUN_FILEVALID sin resolver SISTEMA.exe : fatal error LNK1120: 1 externos sin resolver
Leonardo Machado Viktor Szakáts wrote: > > Yes, in hbct lib. > > [ xhb decided to mix in all ct functions to core, so they > appear as "xhb" functions which they are not. ] > > Brgds, > Viktor > > On 2009.09.09., at 17:12, sygecom wrote: > >> >> Hello to All, >> >> I wonder if there is a function: FileValid () in the Harbour? >> >> Below is an example of function in xHarbour: >> >> PROCEDURE Main >> >> ? FileValid( "MyApp.prg" ) // result: .T. >> >> ? FileValid( "My New Application.prg" ) // result: .F. >> >> ? LongFileValid( "My New Application.prg" ) // result: .T. >> >> RETURN >> >> FUNCTION LongFileValid( cFileName, lExtension ) >> >> IF Valtype( lExtension ) <> "L" >> lExtension := .F. >> ENDIF >> >> RETURN FileValid( cFileName, 255, 255, lExtension, .T. ) >> >> -- >> View this message in context: >> http://www.nabble.com/There-is-a-function-FileValid%28%29-in-the-Harbour--tp25367075p25367075.html >> Sent from the Harbour - Dev mailing list archive at Nabble.com. >> >> _______________________________________________ >> Harbour mailing list >> Harbour@harbour-project.org >> http://lists.harbour-project.org/mailman/listinfo/harbour > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > > -- View this message in context: http://www.nabble.com/There-is-a-function-FileValid%28%29-in-the-Harbour--tp25367075p25367601.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour