Hi,

>> Make sure to use Harbour 2.1.0dev r14108 or newer.
> 
> I use version  14146.

Make sure hbmk2.exe is also of this version.

>> What is the error?
> 
> Example:
> 
> [SAMPLE]
> 
> function MAIN
> 
> ? file( "teste.txt" ) && <- Always return .F. and is that this file exist.
> 
> return NIL
> 
> [ENDSAMPLE]

This can hardly be caused by wrong unicows setup.
When running unicows apps on Win98, it should 
either run properly or not run at all with appropriate 
error msgbox.

>> In case of .hbc file, I suggest to use:
>>  {mingw|bcc|watcom}libs=unicows
>>  libpaths=<dir of unicows lib>
> 
> Yes, i changed this but the problem persists with the sample up.

Sorry, can't reproduce here even with freshly 
built bcc 5.5 and freshly downloaded opencows 
lib. It works as expected on both Win7 and 
Win98 + unicows.dll in system dir.

'hbmk2 test.prg -lunicows'

--- test.prg
hb_alert( File( "test.exe" ) )
---

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to