Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error being raised With COM+
Message
 
To
12/07/2001 12:35:44
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00528556
Message ID:
00529821
Views:
8
What about this scenario,

- Client Create Object A
- Client Call an Object A Method
- Object A Create Object B
- Object A Calls an Object B Method
- Object B Encounter an error
- Object B Returns control to the client with ComReturnError()

Object A will still be active and is not aware of the problem of Object B, So what append in this case ?


>IMO, the best approach is to have a garbage collection method. Call it anytime you need to cleanup. Then call COMRETURNERROR(). The problems you cited are NOT due to COMRETURNERROR(), they are due to not doing proper cleanup.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform