I have two variants of DLLs 32 bit and 64 bit .. I registered them using regsrv and load them using win32ole API and register the methods ..
Now this works for me if I am registering a 32 bit DLL with a 32 bit Ruby process and 64bit DLL with a 64 bit ruby process
But my end goal is to use one variant 32 or 64 and register the DLL and get the result ..