Can't register 32bit dll under 64bit windows
Posted
by
Wodzu
on Stack Overflow
See other posts from Stack Overflow
or by Wodzu
Published on 2011-01-12T08:49:28Z
Indexed on
2011/01/12
8:54 UTC
Read the original article
Hit count: 261
Hi guys.
I try to create a COM object from my JS script like this:
function main()
{
var MyApplication = new ActiveXObject("Base.Application");
}
main();
I am getting error: "Automation server can't create object". This error occurs on Windows 2003 64 bit. The dll is 32 bit and it works fine on 32 bit systems.
I've tried both versions of Regsvr32.exe on the 64 bit system and both versions told me that dll registered succesfully.
Unfortunatelly the error message does not tell me why it can not create object. The reason is unknown, it might be that it can't create object because it is still not registered or it might be something totally different...
I've also add full permisions to this dll.
I don't know what else I can do, do you have any ideas?
© Stack Overflow or respective owner