| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, Everybody. In this program, ferror() returns 0 when "Multi Thread Support" is checked. The correct would be 2 (file doesnīt exist). FUNCTION MAIN() nHandle := FOPEN( 'teste.txt', 2 ) // 2 = read and write ALERT( 'nhandle = ' + CSTR( nHandle ) + ' ferror() = ' + CSTR( ferror() ) ) // results: // // MT = nhandle = -1 ferror() = 0 // ferror() wrong // Not MT = nhandle = -1 ferror() = 2 // ferror() ok return nil I use xHB Pro Novī97. Itīs necessary to use some command or function in programs to use MT? Other problem occurred: the QUIT don't close the DBF TIA, FabioNery |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.