DLL access


In my project i am working on a scenario where a .net wcf is accessing native cobol code through the wrapper class program.

The wrapper is added as reference to .NET

As of now the wcf is hosted on IIS and when i execute the service it asks the native dll to put at certain location(bin folder of iis\inetsrv), now i am trying to access the native code from a specific location,other than the location it asks for .

I have tried to use the 'PATH' environment variable in the cobol wrapper code to set the path to look for dll but its not working, so anyone have any other idea to access the dll from the specific location.

Please help.