> http://www.adp-gmbh.ch/csharp/call_dll.html
I had a problem with DllImport() on 64bit .NET with .NET 2.0: it appears as if a normal C dll can't always lead to a proper application with DllImport on 64bit, despite the fact that it was compiled with 64bit flags (the c dll), it lead to an invalid image exception. I never found the cause of this, as every attempt lead to the same error. I think indeed that your other suggestion, the C++/CLI route is more preferable, as you then rely on the code inside the C++/CLI bridge, not some dll mapping mechanism. FB =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com