title: 64 bit COM(ActiveX) server
body: <p>I have activex server exe that was building and registering fine on 32bit OS. I wanted to make 64 bit version of that exe by upgrading project to Visual Studio 2010 and changing platform to X64 which apparently doesn't work.</p>
  
  <p>Application itself works but I don't see it registered after running </p>
  
  <pre><code>That.exe /RegServer
  </code></pre>
  
  <p>I would appreciate any usable advice on migrating activex from 32 to x64.</p>
  
  <p>Code that is processing /RegServer param is below:</p>
  
  <pre><code>if(lstrcmpi(lpszToken, _T("RegServer")) == 0)
    {
     _Module.UpdateRegistryFromResource(IDR_OUTDISKSARG, TRUE);
     nRet = _Module.RegisterServer(TRUE);
     bRun = false;
     break;
    }
  </code></pre>
  
  <p>32 bit activex is unuable for me since I have to load it in x64 .NET process.</p>