Is this a .NET project, and if so are you sure you compiled your project to target x86?
The iManage API does not support 64bit environments and needs to run in 32bit emulation