cross-platform c++ classes?

Carl Parrish plug-devel@lists.PLUG.phoenix.az.us
Mon May 21 09:30:02 2001


Sorry if I sound like I think Mozilla is the solution for everything. 
But to me this sounds a lot like what XPCOM does. So you may want to 
check this site. http://www.mozilla.org/projects/xpcom/.
To be honest I don't know what they did to make it cross platform. But I 
use the API. it is cross platform and quite handy.  You may also want to 
look into the portability guide.
http://www.mozilla.org/hacking/portable-cpp.html. Some of it is Mozilla 
specific but I think there is a lot a good advise here. Like I said *I* 
don't really get into the XPCOM source but it has to be there somewhere 
and perhaps it could help you. If you want it and can't find It let me 
know and I'll look it up.

Carl Parrish


Lucas Vogel wrote:

>I am looking to create a development library based on a cross-platform API.
>The way I would like to develop my library would be to create a "core set"
>of c++ classes, with platform-specific implementations(i.e., a COM subset
>for windows) based on these core classes. The API that I am developing off
>of is implemented on Windows, (Red Hat) Linux and SGI(IRIX I think). 
>
>My question to the council is, how do I create this core set of classes so
>that they are also cross-platform compatible? Any and all
>recommendations/suggestions would be greatly appreciated.
>
>Thanks guys!
>
>===========================
>Lucas Vogel
>lvogel@exponent.com
>623-587-6739	work
>623-587-4191	fax
>===========================
>
>
>
>_______________________________________________
>PLUG-devel mailing list  -  PLUG-devel@lists.PLUG.phoenix.az.us
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-devel
>