x64 x32 调用DLL问题

attempt was made to load a program with an incorrect format

64位vs2008下编译一个调用 华为信息机  的.net接口。出现如上错误。

发现,作为x32的windows services运行正常。