git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Windows: no longer use WinExec in afscreds
[openafs.git]
/
src
/
WINNT
/
client_creds
/
shortcut.cpp
diff --git
a/src/WINNT/client_creds/shortcut.cpp
b/src/WINNT/client_creds/shortcut.cpp
index
3ef523a
..
904d9a1
100644
(file)
--- a/
src/WINNT/client_creds/shortcut.cpp
+++ b/
src/WINNT/client_creds/shortcut.cpp
@@
-35,7
+35,7
@@
extern "C" {
void Shortcut_Init (void)
{
- CoInitialize(0);
+ CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
}