Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Advantages of using COMRETURNERROR( )
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00469402
Message ID:
00469563
Views:
26
>Hi!
>
>My guess was about usual use of COMRETURNERROR(). For example, at the server side, when SQLExec command failed, take information from aerror array and return from routine using COMRETURNERROR. At the client side than we can see that query failed and why it is failed. No error handling involved here at the server side.
>
>As about error, COM server does not crashes when error occurs and error event fired. More, COMRETURNERROR() returns control inmmediately to the client. Thus I consider this function have little of use for error handling at the server side, just a tool to report error to the client from server using some standard and strateforward approach.
>
If a server crashes while transacting with the client, does not the client loose it's instance?
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform