Toninho, > Viktor, I', tested and GPF in the same way
> function DboTempOpenFromDbf() > AdsSetFileType( 3 ) > return nil I use C++Builder 5.0 but I don't have ADS, so I need to remark the ADS function. When doing that there is no error in ST or MT modes (with or without CodeGuard). Maybe your ADS library is ST mode only? maybe you link cp32.lib instead of cp32mt.lib or any other type of fixup? Chen. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour