noobdoesre / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Windows .dll file invalid #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem:
1. Open my project in Visual Studio 2010.
2. Add reference "openjpeg.dll"

I expect the .dll to be recognized and added to my project.
Visual Studio reports "A reference to 'openjpeg.dll' could not be added.  
Please make sure that the file is accessible, and that it is a valid assembly 
or COM component."

What version of the product are you using? On what operating system?
I tried openjpeg versions 1.4 and 1.5 with no success.
I'm using Visual Studio 2010 Professional Version 10.0.40219.1 SP1Rel in 
Windows 7 Professional SP1 64-bit.

Any assistance would be appreciated.  Thank you.

Original issue reported on code.google.com by timincs...@gmail.com on 27 Mar 2012 at 7:51

GoogleCodeExporter commented 9 years ago
Additional information:
The Visual Studio project is a C# (C-sharp) project.

Original comment by timincs...@gmail.com on 27 Mar 2012 at 9:31

GoogleCodeExporter commented 9 years ago
Use Interop and DllImport to access the dll, as the error says the dll is a 
native dll not a com dll or .net assembly

Original comment by mm7...@googlemail.com on 29 Mar 2012 at 8:56

GoogleCodeExporter commented 9 years ago
closing as invalid. thanks

Original comment by mathieu.malaterre on 21 May 2012 at 2:07