Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM error call?
Message
From
27/05/2004 10:26:34
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00907570
Message ID:
00907745
Views:
7
Claude,

Thanks for your concise answer and the function.

>*ALWAYS* use COMRETURNERROR in your error handler. It's one of those things >that should be built in automatically so that you don't have to think about it, >but it isn't.
>FUNCTION Error(nError, cMethod, nLine)
> COMreturnerror(cMethod+' err#='+str(nError,5)+'
> line='+str(nline,6)+' '+message(),_VFP.ServerName)

David
Previous
Reply
Map
View

Click here to load this message in the networking platform