AW: fortunately it works now ..
| From: | Harald Radi | Date: | Mon, 30 Jul 2001 21:23:02 +0000 |
| Subject: | AW: fortunately it works now .. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61586@lists.php.net to get a copy of this message | ||
> Multithreaded:
> CoInitialize() is actually in basic_functions.c not in COM.c
> - interestingly. i.e. the code in COM.c is called, but is the
> second call to CoInitialize().
> CoInitializeEx() would need to be callsed if we plan to be
> multi-threaded.
wouldn't it be evident that CoInitialize[Ex]() and CoUninitialize() are
called from the ext/com module constructor and destructor functions
instead of the basic_functions ones ?
which concurrency model should be chosen ? i would suggest to default to
apartment-threaded and let users switch to multi-threaded by an ini
setting.
-harald.