Information générale
Catégorie:
COM/DCOM et OLE Automation
>Hello,
>
>We are working with reprogramming av Clipper system using Delphi 5 and Apollo to access DBF/FPT/CDX-tables. After learning about using VFP as a COM-server, I found using SQL is very fast and convenient and that it also don't care about our modified index collation.
>
>But when I have a SQL statement trying to do select from a nonexisting dbf, VFP will open a dialog asking for selection. If I run this with application.visible=.F. the calling program will hang while the com-program is not displaying anything. Is there a workaround here?
An alternative would be to check for the existence of the file before doing a select. In that way your COM server can keep running without error, if it can adjust.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement