Hi,
On Wed, Jul 06, 2005 at 08:14:14AM +0200, Marcus Meissner wrote:
Hi,
This implements Roberts suggestion of uninitializing Ole if it is no longer needed.
Ciao, Marcus
Changelog: Call OleUninitialize() on last AVIFileExit()
+static int ole_initialized = 0;
- if (!ole_initialized++)
- OleInitialize(NULL);
Isn't that somewhat racey? Probably better to use InterlockedIncrement() here.
Andreas Mohr