64 bit COM(ActiveX) server
Posted
by
Velja Radenkovic
on Stack Overflow
See other posts from Stack Overflow
or by Velja Radenkovic
Published on 2010-12-22T20:47:22Z
Indexed on
2010/12/22
22:54 UTC
Read the original article
Hit count: 240
Hello,
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.
Application itself works but I don't see it registered after running
That.exe /RegServer
I would appreciate any usable advice on migrating activex from 32 to x64.
Code that is processing /RegServer param is below:
if(lstrcmpi(lpszToken, _T("RegServer")) == 0)
{
_Module.UpdateRegistryFromResource(IDR_OUTDISKSARG, TRUE);
nRet = _Module.RegisterServer(TRUE);
bRun = false;
break;
}
32 bit activex is unuable for me since I have to load it in x64 .NET process.
© Stack Overflow or respective owner