I have to use a c++ dll from an asp .net site. The site will be hosted on both 32 and 64bits environments.
I have a 32 and 64 bits version of the unmanaged dll. How do I import the methods from the correct one according the current server architecture?
EDIT
Like some one posted, this could be handled as a deployment problem. My concern is: the web application consuming this dll is huge and we don't have a deployment document. No one will remember to deploy the correct dll so I'm trying to remove the human factor from the solution :)