For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > August 2006 > probems in porting mfc windows applications into linux with drivers









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author probems in porting mfc windows applications into linux with drivers
mktg@apollocomputing.com

2006-08-22, 4:00 am

Hi Everybody,

We have an application developed int vc++ 6.0 in windows
2000 our application will interact with 1553B PCI add on card. For our
PCI add on card we have windows WDM driver and alos Dynamic link
libraries to use in our application.

APPLICATION <---------> DLL <--------------> DRIVER
<--------------> HW
(.dll)
(.sys)

And we are able to port our application into linux sucesfully with
winelib software. But in our application, whenever a routine interacts
with H/W it is not working. beacause for our own card linux drivers are
required.
We also have separate linux drivers and libraries for our own
add on card.


APPLICATION <---------> DLL <--------------> DRIVER <-------------->
HW
(.a)
(.o)

will mfc windows exe ported into linux will use (.a) linux dll, (.o)
linux driver or I have to use windows (.dll) in linux ,(.sys) in linux.
what I have to do ? plz give suggestions to me to work my ported exe in
linux with H/W.what are the steps i have to follow ?

Maxim Yegorushkin

2006-08-22, 7:59 am


mktg@apollocomputing.com wrote:

[]

> will mfc windows exe ported into linux will use (.a) linux dll, (.o)
> linux driver or I have to use windows (.dll) in linux ,(.sys) in linux.
> what I have to do ? plz give suggestions to me to work my ported exe in
> linux with H/W.what are the steps i have to follow ?


If you need to write a linux device driver start here
http://lwn.net/Kernel/LDD3/

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com