32 Bit Com Server on 64 Bit System
<p>i developed a Com Server and on windows XP 32 bit. To Test the Com Server i created a Client with C# to call the Functions via Interop.
Everything works fine, but now i need to get the ComServer run on a Windows 7 64 bit System.
I took the ComServer DLL and the C# EXE to the 64 bit Computer, registered the ComServer DLL with regsrv32 and started the C# Program.
Wen i first tried to access a ComServer Function all i get is the Error:</p>

<blockquote>
  <p>System.Runtime.InteropServices.COMException (0x80040154): Die COM-Klassenfactory für die Komponente mit CLSID {BA4D7F46-A47E-4CB9-A153-2B4657C4DD29} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80040154.</p>
</blockquote>

<p>in English:</p>

<blockquote>
  <p>System.Runtime.InteropServices.COMException (0x80040154): The COM-Classfactory for the Component with the CLSID {BA4D7F46-A47E-4CB9-A153-2B4657C4DD29} was not able to be called due to the Error: 80040154.</p>
</blockquote>

<p>Whhat is going wrong here? Isn't it possible to call a 32 Bit DLL on a 64 Bit System? If yes, how do all the other 32 bit Programs work?</p>

<p>regards
camelord</p>
