VirtualBox

Ignore:
Timestamp:
Apr 28, 2009 1:19:14 PM (16 years ago)
Author:
vboxsync
Message:

Main: support for using VBox from Python on Windows (still certain limitation apply, such as enum visibility)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/dllmain.cpp

    r8155 r19239  
    2828#include <atlcom.h>
    2929
     30#include <iprt/initterm.h>
     31
    3032CComModule _Module;
    3133
     
    4446        _Module.Init(ObjectMap, hInstance, &LIBID_VirtualBox);
    4547        DisableThreadLibraryCalls(hInstance);
     48
     49        // idempotent, so doesn't harm, and needed for COM embedding scenario
     50        RTR3Init();       
    4651    }
    4752    else if (dwReason == DLL_PROCESS_DETACH)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette