tpaviot/oce — comment on commit 6681dbcb718a430eb5e7c5a4d0d1df61e63d9d01
File:  line 0
By sfotis:

Yes it can ! The reason i did this was simply because i copied the original 6.5.1 upstream implementation that worked fine. Please feel free and change as you wish, or if you want i could commit a change.

Btw the THE_GLOBAL_FACTORY instance is it properly de-allocated upon program exit in other platforms ? In bcc case upon exit of program, all local static or global objects are properly destroyed, and this can lead to numerous bugs since in some cases a destructor refers to other objects or platform API (win32) that was de-allocated previously (i spent numerous hours debugging such cases...).I say this because maybe the pointer method should be preferred in other platforms also !