Re: porting mfc windows application into linux
- From: "Lew Pitcher" <lpitcher@xxxxxxxxxxxx>
- Date: 17 Aug 2006 05:39:25 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
mktg@xxxxxxxxxxxxxxxxxxx wrote:
hi, this is praveen. I have ported MFC windows application into linux
with winelib software, the exe of windows application is working in
linux. the problem is we have our own card with this card. it is giving
errors drivers not found. what are the steps i have to do plz give
suggestions.how winelib supports these drivers.
If your Windows version of the application truely requires Windows
device drivers to interact with your "card", then you have a lot more
to do in porting your application to Linux.
Neither Wine nor Winelib support Windows device drivers; those are
low-level pieces of kernel code, and neither wine nor winelib "do"
kernel activities. Kernel interfaces to wine/winelib are entirely the
responsibility of the OS kernel, and neither wine nor winelib can take
over and "install" windows drivers to the Linux kernel.
So, you are likely going to have to port the Windows device driver to
the Linux kernel, in order to get your application to recognize your
"card". You might have an alternative if your card provides interfaces
already recognized by the Linux kernel; you might just have to write a
user-space interface to the already-existing Linux device driver, in
order to support the special aspects of your "card" (for instance, USB
devices are recognized by the kernel already, and userspace "USB
drivers" can talk to the general kernel USB interface to converse with
specialized USB devices).
/If/ you have to port some or all of your Windows device driver to
Linux, be aware that there may be licencing issues that you will have
to deal with. Linux device drivers are typically released as GPL code
becaues they are built on GPL code (the Linux kernel and it's
interfaces to device drivers). You /can/ release propriatary drivers
that are not GPL, so long as your driver doesn't actually interface
with the kernel (this is simplified, of course. You'll want to discuss
this with your lawyers and with those knowledgable on Linux kernel
licencing to get a real appreciation of the legal and licencing
requirements. IANAL).
HTH
- --
Lew Pitcher
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12
iD8DBQFE5GN3agVFX4UWr64RAlH2AJ9LJeoKpnvTvsko61itVVzpqMqOeACeJ/fd
rAYr5Zg+XnxHSZ8yTDG+6oQ=
=Bd6c
-----END PGP SIGNATURE-----
.
- References:
- porting mfc windows application into linux
- From: mktg
- porting mfc windows application into linux
- Prev by Date: porting mfc windows application into linux
- Next by Date: Re: Probelm with WINE and MFC application
- Previous by thread: porting mfc windows application into linux
- Next by thread: Re: Probelm with WINE and MFC application
- Index(es):
Relevant Pages
|