Re: Cross platform C++ base library?
- From: "David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Dec 2008 06:04:24 -0800
"Alan Carre" <alan@xxxxxxxxxxxxxxxxx> wrote in message news:OJ6ggDQYJHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
I don't know if it's stealing, but why not just clip out those things from MFC that you like and try to create a scenario such that it compiles and runs without all the other junk. Things like CString and CList can be pretty much be clipped-out compiled their own; ie. you don't need any of the windows wrapper stuff to use the containers (lists, strings, maps) and it's all very efficient and well-tested code.
This used to be easy (you could even just take cstring.h and cstring.cpp and compile them directly into a non-MFC project), but then MS refactored these things into ATL, and then it became very hard.
But like I say, not sure if that's allowed. Maybe you have to ask permission from Msoft or something? I mean permission to base a library on *just a subsection of MFC*. You're allowed to *use* MFC so I don't see why it would be illegal "in theory", as long as you're not selling or publishing it.
But ... dunno. I'm not a lawyer.
Thanks Alan. At this point I"m looking for a ready-to use library and not have to fight to get MS stuff to build with GNU, etc., and you're right, the licensing may be an issue. I don't think using MFC source code in a cross platform manner is going to work.
I see wxWidgets has a wxBase library which looks promising.
Thanks,
David
.
- Follow-Ups:
- Re: Cross platform C++ base library?
- From: Joseph M . Newcomer
- Re: Cross platform C++ base library?
- From: Alan Carre
- Re: Cross platform C++ base library?
- References:
- Cross platform C++ base library?
- From: David Ching
- Re: Cross platform C++ base library?
- From: Alan Carre
- Cross platform C++ base library?
- Prev by Date: Re: Cross platform C++ base library?
- Next by Date: Re: Cross platform C++ base library?
- Previous by thread: Re: Cross platform C++ base library?
- Next by thread: Re: Cross platform C++ base library?
- Index(es):
Relevant Pages
|