Windows: no longer use WinExec in afscreds
[openafs.git] / src / WINNT / client_creds / shortcut.cpp
index 3ef523a..904d9a1 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
 
 void Shortcut_Init (void)
 {
-   CoInitialize(0);
+   CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
 }