[NCLUG] windoze port newbie
J. Paul Reed
preed at sigkill.com
Wed Feb 6 22:03:35 MST 2002
On Wed, 6 Feb 2002 rosing at peakfive.com wrote:
> I have an application written for linux that I have to port to
> windows. I know I know, but please don't flame me. Anyway, it doesn't
> have a gui. It reads and writes files, it has a simple command line
> interface, and it reads and writes through a serial port. I'm afraid
> the serial port will be the ugly part of all this. I've never written
> a program for a windows box. I'm looking for pointers to information
> for doing this kind of thing.
You're asking NCLUG for pointers on Windows programming?! :-)
Take a look at the MSDN library: http://msdn.microsoft.com/library/
Also, you may want to think about rewriting your application using a
portable API if you're planning to port this to a number of OSs. OTOH, if
you're doing really simple calls and following the POSIX standard, I
believe MFC provides POSIX-style I/O calls... but it's been awhile since
I've had to touch icky MFC, though.
As for portable APIs, the Netscape Portable Runtime might be a bit hefty if
all you need is a standardized open/close file I/O API (heck, you could
probably write that yourself), but if you need portable threading,
synchronization, typing, network and file I/O, and time services,
definitely check out NSPR: http://www.mozilla.org/projects/nspr/
Later,
Paul
------------------------------------------------------------------
J. Paul Reed preed at sigkill.com || web.sigkill.com/preed
What's the point in being nuts if you can't have a little fun?
-- John Nash, Jr., A Beautiful Mind
More information about the NCLUG
mailing list