Information générale
Catégorie:
COM/DCOM et OLE Automation
>>This is a WAG, but it could be that the UI is getting thrown up before your error code can trap it...I guess I'd be really cautious to not use _anything_ that might put up a UI. Just a thought.
>
>Actually after testing at the command window, When i run SqlExec(), i get an error, "Sql parameter missing", which is fine i can trap that, but the problem is after i traped the message and i want to cleanup by calling SqlDisconnect() i get a C5, (not at the command window, only on the COM Server), i have a funny fealing that the SqlPrepare create some hidden handles and VFP is unable to clean them up is SqlExec() is not called.
>
>Any thoughts ?
No, I'm afraid I don't. I'm sure I'm being far too simplistic, but why use the "?" format if you're always going to error? I guess I'd simplify the SELECT statement to not use the "?" as a test.
Other than that, I'm afraid I'm out of my area.
Précédent
Suivant
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