VirtualBox

Changeset 35741 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 27, 2011 3:46:41 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69691
Message:

frontends: init ATL, used for listener instantiation

Location:
trunk/src/VBox/Frontends
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r35727 r35741  
    532532#endif /* VBOX_FFMPEG defined */
    533533
     534#ifdef RT_OS_WINDOWS
     535// Required for ATL
     536static CComModule _Module;
     537#endif
     538
    534539/**
    535540 *  Entry point.
     
    559564    const char *pszFileNameParam = "VBox-%d.vob";
    560565#endif /* VBOX_FFMPEG */
     566
    561567
    562568    /* Make sure that DISPLAY is unset, so that X11 bits do not get initialised
     
    13191325    virtualBox.setNull();
    13201326    pVirtualBoxClient.setNull();
    1321 
     1327    machine.setNull();
     1328 
    13221329    com::Shutdown();
    13231330
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r34971 r35741  
    231231
    232232#endif /* !VBOX_ONLY_DOCS */
     233
     234#ifdef RT_OS_WINDOWS
     235// Required for ATL
     236static CComModule _Module;
     237#endif
     238
    233239
    234240int main(int argc, char *argv[])
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r35726 r35741  
    715715}
    716716#endif /* VBOXSDL_WITH_X11 */
     717
     718
     719#ifdef RT_OS_WINDOWS
     720// Required for ATL
     721static CComModule _Module;
     722#endif
    717723
    718724/** entry point */
Note: See TracChangeset for help on using the changeset viewer.

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