I have set up my application so it uses a TSession to find out if the database alias exists. Wrote in message customer has run into a very strange thing. And the code certainly works under XP.Can anyone point me to a solution?Thanks.Alan. Neither can the software find the alias.The code is as follows:trysAlias:= 'PSC' sDir:= 'C:PSCDatabase' if not Session1.IsAlias(sAlias) thenbeginsMaxFiles.Add('MAXFILEHANDLES=355') Session1.ModifyDriver('DBASE', sMaxFiles) Session1.AddStandardAlias(sAlias, sDir,'DBASE') Session1.SaveConfigFile end finallysMaxFiles.Free end I cannot duplicate this on my PC as it doesn't have a completely clean install.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |