Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C5 On Com+
Message
From
08/07/2001 17:12:23
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00527937
Message ID:
00527953
Views:
37
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform