I am using some DB like product called ‘Sesame’. They provide c# pinvoke files and a DLL… I am used to just doing the old ‘Add Reference’ and move on.. But for whatever reason this DLL cannot work that way.. The PINVOKE file refers to it (I guess in the working directory)..
So then I move this working demo it a ASP.NET ‘Web Site’.. BNow I am confused.. I put the PINVOKE file and the dll in the App_Code/CSCode… But the source code cannot find this DLL..
Where shoudl this DLL reside ??? In the ASP.NET temp files?? Since that is where it compiles everything?? But that doesnt seem right
Any DLL needs to reside in the /bin directory.