Index: /trunk/src/VBox/Main/include/ExtPackManagerImpl.h
===================================================================
--- /trunk/src/VBox/Main/include/ExtPackManagerImpl.h	(revision 46822)
+++ /trunk/src/VBox/Main/include/ExtPackManagerImpl.h	(revision 46823)
@@ -23,4 +23,5 @@
 #include <iprt/fs.h>
 
+#if !defined(VBOX_COM_INPROC)
 /**
  * An extension pack file.
@@ -85,4 +86,5 @@
     friend class ExtPackManager;
 };
+#endif
 
 
@@ -215,8 +217,10 @@
     /** @name Internal interfaces used by other Main classes.
      * @{ */
+#if !defined(VBOX_COM_INPROC)
     static DECLCALLBACK(int) doInstallThreadProc(RTTHREAD hThread, void *pvJob);
     HRESULT     doInstall(ExtPackFile *a_pExtPackFile, bool a_fReplace, Utf8Str const *a_pstrDisplayInfo);
     static DECLCALLBACK(int) doUninstallThreadProc(RTTHREAD hThread, void *pvJob);
     HRESULT     doUninstall(const Utf8Str *a_pstrName, bool a_fForcedRemoval, const Utf8Str *a_pstrDisplayInfo);
+#endif
     void        callAllVirtualBoxReadyHooks(void);
     void        callAllConsoleReadyHooks(IConsole *a_pConsole);
Index: /trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp	(revision 46822)
+++ /trunk/src/VBox/Main/src-all/ExtPackManagerImpl.cpp	(revision 46823)
@@ -2039,5 +2039,4 @@
 }
 
-#if !defined(VBOX_COM_INPROC)
 STDMETHODIMP ExtPackManager::OpenExtPackFile(IN_BSTR a_bstrTarballAndDigest, IExtPackFile **a_ppExtPackFile)
 {
@@ -2046,4 +2045,5 @@
     AssertReturn(m->enmContext == VBOXEXTPACKCTX_PER_USER_DAEMON, E_UNEXPECTED);
 
+#if !defined(VBOX_COM_INPROC)
     /* The API can optionally take a ::SHA-256=<hex-digest> attribute at the
        end of the file name.  This is just a temporary measure for
@@ -2069,4 +2069,7 @@
 
     return hrc;
+#else
+    return E_NOTIMPL;
+#endif
 }
 
@@ -2079,4 +2082,5 @@
     Assert(m->enmContext == VBOXEXTPACKCTX_PER_USER_DAEMON);
 
+#if !defined(VBOX_COM_INPROC)
     AutoCaller autoCaller(this);
     HRESULT hrc = autoCaller.rc();
@@ -2127,6 +2131,8 @@
 
     return hrc;
-}
+#else
+    return E_NOTIMPL;
 #endif
+}
 
 STDMETHODIMP ExtPackManager::Cleanup(void)
