Re: Cross Platform Development
Re: Cross Platform Development
- Subject: Re: Cross Platform Development
- From: Richard <email@hidden>
- Date: Wed, 17 Jul 2002 08:24:09 +1000
- Organization: Faraday R&D
>
Hi,
>
>
I have embarked on a so far bewildering and painful task of converting a large Windows application written in Delphi to
>
ProjectBuilder / Cocoa. On the Windows side I plan to incrementally move the source code over to Borland C++ Builder (it can
>
handle both C++ and objective pascal simultaneously in one project). On the Mac side I plan to use ProjectBuilder and Cocoa.
>
Both source codes will eventually share a lot of common C++ code. The user interfaces are not that complicated so having to
>
write two sets, one for Windows and one for OS X does not really matter. Has anybody out there ever done this ? Any helpful
>
advice ? My first attempt at importing a C++ file into ProjectBuilder failed miserably since the classes CObject and CString do
>
not seem to be part of any available framework on the OSX side. This surprises me greatly since these are very basic classes. Am
>
I mistaken here or do I have to use other types ?
>
>
/Rolf
>
>
-
These come out of the MFC application framework although I suppose c++ Builder also
supports these for compatiblity reasons. Its been a while since I did c++ builder
but it then had a string class resembling the standard c++ lib string class.
Your best approach may be to write a CString class that has a c++ string as an instance variable.
CObject is the class from which all things inherit in MFC, so if that is used
your will have to implement that from scratch.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.