Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Francisco M. Marzoa Alonso
Erm... MoMA itself doesn't work on linux, isn't it? TIA, El 19/03/11 07:28, Matthew Winter escribió: Hi, Potentially yes, but I would first scan the DLL using the MoMA tool (http://www.mono-project.com/MoMA), which will be able to confirm if everything this assembly does is currently

Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Stifu
If I'm not mistaken, MoMA is a managed WinForms app, so it works anywhere Mono runs. Francisco M. Marzoa Alonso wrote: Erm... MoMA itself doesn't work on linux, isn't it? TIA, El 19/03/11 07:28, Matthew Winter escribió: gt; Hi, gt; gt; Potentially yes, but I would first scan the DLL

Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Francisco M. Marzoa Alonso
Ok, you're right. I'm just starting with this and I still automatically thinks Windows App when I see and .exe file. Thanks a lot, El 22/03/11 11:01, Stifu escribió: If I'm not mistaken, MoMA is a managed WinForms app, so it works anywhere Mono runs.

Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Francisco M. Marzoa Alonso
Hello, MoMA is that I needed, indeed. Here is the output I get: OK - All Methods called exist in Mono OK - No P/Invokes are called. FAIL - Methods called that throw NotImplementedException: 1 FAIL - Methods called marked with [MonoTodo]: 1 Showing it in detail, it's the same method for both

Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Francisco M. Marzoa Alonso
El 19/03/11 14:59, Tim H escribió: The chm file is likely a Compiled HTML Help file for the developer, and should not ship with your project nor be referenced in your project. I see. Can I browse this help file from within Monodevelop? I've added a reference to the DLL itself, but it seems

Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Stifu
It might still work, and would only fail when that method is called. But if that method is called often, or on start up, then you're probably out of luck. On the other hand, being very optimistic, it's possible the method is there but never called. The only way to find out is to just try it. PS:

Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Stifu
I meant ReceivedBytesThreshold *property*, but whatever. :) Stifu wrote: It might still work, and would only fail when that method is called. But if that method is called often, or on start up, then you're probably out of luck. On the other hand, being very optimistic, it's possible the

Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Alan
NotImplementedExceptions can be thrown on purpose so that in itself is not a concern unless it throws that incorrectly in your particular case. Similarly for MonoTodo - It does not necessarily mean the method/property doesn't work. It could just be suboptimal, or maybe it only works in 95% of

Re: [Mono-list] Using Windows DLL in Linux

2011-03-22 Thread Vincent Povirk
On Tue, Mar 22, 2011 at 6:11 AM, Francisco M. Marzoa Alonso franci...@marzoa.com wrote: Hello, MoMA is that I needed, indeed. Here is the output I get: OK - All Methods called exist in Mono OK - No P/Invokes are called. FAIL - Methods called that throw NotImplementedException: 1 FAIL -

Re: [Mono-list] Using Windows DLL in Linux

2011-03-19 Thread Matthew Winter
Hi, Potentially yes, but I would first scan the DLL using the MoMA tool (http://www.mono-project.com/MoMA), which will be able to confirm if everything this assembly does is currently supported by Mono. Regards Matt On 19/03/2011, at 11:10 AM, Francisco M. Marzoa Alonso wrote: Hello,

Re: [Mono-list] Using Windows DLL in Linux

2011-03-19 Thread Ralph Leßmann
: mono-list-boun...@lists.ximian.com mono-list-boun...@lists.ximian.com An: mono-list@lists.ximian.com mono-list@lists.ximian.com Gesendet: Sat Mar 19 07:28:31 2011 Betreff: Re: [Mono-list] Using Windows DLL in Linux Hi, Potentially yes, but I would first scan the DLL using the MoMA tool (http

Re: [Mono-list] Using Windows DLL in Linux

2011-03-19 Thread Tim H
The chm file is likely a Compiled HTML Help file for the developer, and should not ship with your project nor be referenced in your project. If the DLL communicates with the device, how is that going to work on Ubuntu? Was the DLL made as a .NET assembly? Tim On Fri, Mar 18, 2011 at 8:10 PM,

Re: [Mono-list] Using Windows DLL in Linux

2011-03-19 Thread Jonathan Pryor
On Mar 18, 2011, at 8:10 PM, Francisco M. Marzoa Alonso wrote: One customer has sent me a request to create an application that must work on an Ubuntu host and handle certain device. As Tim H suggested, the _real_ question is this: what kind of file is device-sdk-1.0.dll? Specifically, is it

[Mono-list] Using Windows DLL in Linux

2011-03-18 Thread Francisco M. Marzoa Alonso
Hello, One customer has sent me a request to create an application that must work on an Ubuntu host and handle certain device. The manufacturer of the device has published an SDK for C# developers, that once downloaded I found that has two files: - device-sdk-1.0.dll - device-sdk-1.0.chm Do