[Mono-list] Developer Express on Linux

Hamit Abdullah SARMIŞ (Uygulama Geliştirme Altyapı Müdürlüğü) HamitAbdullah.SARMIS at vakifbank.com.tr
Wed Aug 3 02:31:22 EDT 2011


Thanks for your replies.
We also consider using wine but, our applications need to be .net framework 4 which is not supported by wine (According to winehq).
On the other hand, I don't need all functionalities of kernel32.dll or user32.dll.
I know the actual code causing the problem (As developer express can be disassembled):

     [DllImport("USER32.dll", CharSet = CharSet.Auto)]
    protected static IntPtr SetWindowsHookEx(int idHook, Hook lpfn, int hMod, int dwThreadId);

    [DllImport("USER32.dll", CharSet = CharSet.Auto)]
    protected static int CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam, IntPtr lParam);

    [DllImport("USER32.dll", CharSet = CharSet.Auto)]
    protected static bool UnhookWindowsHookEx(IntPtr hhk);

    [DllImport("kernel32.dll")]
    public int GetCurrentThreadId();

Can I find any Linux library implementing these methods and map them to kernel32.dll and user32.dll to provide DevEx what it needs?
Is it ever possible?

Thanks.


From: James Darbyshire [mailto:jamesdarbyshire at gmail.com]
Sent: Wednesday, August 03, 2011 2:54 AM
To: Hamit Abdullah SARMIŞ (Uygulama Geliştirme Altyapı Müdürlüğü)
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] Developer Express on Linux

I think the nail in the coffin is that the DevExpress controls P/Invoke, as you stated in your original email.

Here is a blog post backing up your presumptions: http://community.devexpress.com/blogs/ctodx/archive/2009/10/02/devexpress-products-and-mono-part-1-winforms.aspx

Interestingly, I was at a Telerik conference in March (I think) and I asked the presenter about mono. The answer is yes, and no for Telerik... Yes for ASP.NET<http://ASP.NET> controls, but a no for the WinForms controls.

See this post: http://www.telerik.com/company/press-center/company-news/telerik-announces-support-for-mono.aspx

I think you are out of luck with using third party controls on your winForms -> mono port.

Of course you can develop your own controls if you have the time which will work with mono... Not beyond the realms of possibility!

Regards,

James

On 2 August 2011 16:45, hamitsarmis <hamitabdullah.sarmis at vakifbank.com.tr<mailto:hamitabdullah.sarmis at vakifbank.com.tr>> wrote:
Hi,
We are using Developer Express on win-form applications and trying to
integrate our .Net framework 4 projects to linux. Mono Migration Analyzer
reports no issues, but when I run my application, a DLLNotFound exception is
thrown for user32.dll and entrynotfoundexception for kernel32.dll (Developer
Express is using  DllImports).
I've read a few similar issues and it doesn't seem possible to use windows
os libraries on linux. As the issues were at 2007, I want to ask again if
any solution found out for using windows system libraries.

Thanks in advance.

--
View this message in context: http://mono.1490590.n4.nabble.com/Developer-Express-on-Linux-tp3711481p3711481.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com<mailto:Mono-list at lists.ximian.com>
http://lists.ximian.com/mailman/listinfo/mono-list



--
Regards,

James Darbyshire
jamesdarbyshire at gmail.com<mailto:jamesdarbyshire at gmail.com>

________________________________
GIZLILIK NOTU: Bu mesaj ve ekleri yalnizca gönderildigi kisi(lere) ozeldir ve gizlidir. Mesaj sizin adiniza degilse, içerigini ve varsa ekindeki dosyalari kimseye göndermeyiniz ya da kopyalamayiniz. Bu mesajin herhangi bir sekilde açiklanmasi, kullanilmasi, kopyalanmasi, yayilmasi veya mesaj içerigi ile ilgili olarak herhangi bir islem yapilmasi kesinlikle yasaktir. Böyle bir durumda lütfen göndereni uyarip, mesaji siliniz. Türkiye Vakiflar Bankasi T.A.O. bu mesajin içerigi ve ekleri ile ilgili olarak hiçbir hukuksal sorumlulugu kabul etmez.
CONFIDENTIALITY NOTICE: This message and attachments are confidential and intended solely for the individual(s) stated in this message. If you received this message although you are not the addressee, you are responsible to keep the message confidential. If you are not the intended recipient please notify the sender immediately and destroy this e-mail. Turkiye Vakiflar Bankasi T.A.O. does not accept legal responsibility for the contents and the attacments of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110803/86328793/attachment-0001.html 


More information about the Mono-list mailing list