Problem with CreateObject on 64bit OS

I have a 32bit OLE object registered on Windows 2008 R2 64bit OS with Domino 8.51 32bit. The DLL is stored within C:\SysWOW64 which is where the 32bit libraries automatically get stored.Unfortunately CreateObject returns error 208 Cannot Create Automation Object.

The DLL provider is saying that you have to recompile the application and change the Target CPU from “AnyCPU” to “x86” when using Microsoft Visual Studio 2005/2008. Does anyone know whether there is any LotusScript equivalent?

Thanks in advance.

Subject: 32 ↔ 64 bit COM object.

Run Component ServicesCreate empty COM+ application, set Application Type - Server application and any name.

Add new component yours.dll.

Create COM object in programm well as before.