Author Topic: 32 bit dll working on vista 64  (Read 1871 times)

0 Members and 1 Guest are viewing this topic.

Draftek

  • Guest
32 bit dll working on vista 64
« on: February 13, 2009, 08:42:14 AM »
I'm having problems getting my interop wrappers to work on vista 64.

I'm developing on visual studio 2005 on a 32 bit windows xp machine and all the native .Net code works okay.

I can get the dll registered okay with regsvr32 both in 64 bit and 32 bit commands but they just will not work on the machine.

Attached is the exception I'm getting when trying to use a control built in the form of a dll. I was getting the same error with a different number until I figured out how to actually register the dll. I'm thinking the wrapper is not making the connection with the registry or something...


Draftek

  • Guest
Re: 32 bit dll working on vista 64
« Reply #1 on: February 13, 2009, 10:44:19 AM »
I got it.

Since I'm using a 32 bit dll, I had to force each project (In this case 5) to compile to x86.

Thanks