[Mono-list] Issue with Interop
ptr2009
ptrajkumar at gmail.com
Wed May 20 10:36:47 EDT 2009
weismat wrote:
>
> I am trying to use zlib from my code similar to this link straight with
> Interop. (
> http://www.koders.com/csharp/fidB377599DB0D658DEA5BD81F67CA407C4FE12E93B.aspx?s=login
> GData ZLibStream Class )
> My platform is Linux (Red-Hat 3.4.6-8), gcc 3.4.6. Mono 2.4 and Zlib 1.2.3
> were both build straight from source tar files.
> I am failing originally with string comparison of the version string, but
> I am also failing with using inflate when commenting out the version check
> in the zlib string.
> Do you have any suggestions on what I need to get the interop working
> correctly - the code works fine on Windows and I would like to use it on
> Linux/Mono as well. I need the Zlib directly for performance reasons and
> because I am working on a network stream.
>
Does this work if you invoke mono from the directory where the executable
resides? Mono doesnt look for the application directory to resolve
DllImports.
Look at http://www.mono-project.com/Interop_with_Native_Libraries for more
details.
Raj
--
View this message in context: http://www.nabble.com/Issue-with-Interop-tp23629942p23636727.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list