Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Windows > Re: Looking for...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 10 Topic 242 of 319
Post > Topic >>

Re: Looking for cross-platform best practices

by jonhoyle@[EMAIL PROTECTED] Jan 17, 2005 at 04:14 PM

Hi Chris,

My experience has been very positive using CodeWarrior C++ (both Mac &
Windows) for the core code for speed and optimization and RealBasic as
the GUI that rides on top of it.  I tend to find that this really gives
me the best of all worlds when it comes to cross-platform code
generation.

Essentially, I begin with a CodeWarrior DLL project for Mac and Windows
(ie Carbon Shared Library for Mac and Dynamic Linked Library for
Win32).  I write my model code in here, typically using a command line
interface for it to make sure Unit Tests pass.  (I can provide you with
a sample CW 8.3 project I use as my template.)

Then I write my GUI in RealBasic, using Declares to call into the DLL.
Since I use RB only for GUI, it's fairly thin since none of my model
code uses RB objects.  The RB calls essentially resolve to Mac and Win
API calls under the hood, making life so much easier.  GUI writing is a
breeze this way, allowing me to spend most of my time writing the core
in C++.

I have done other projects in th past doing the same thing, except
using Java for the GUI instead of RealBasic.  I find that Java's
runtime is a bit heavy and less responsive as compared to RealBasic,
and the coding much more involved, so I am not really interested in
going back to that.

Hope that helps,

Jonathan
 




 10 Posts in Topic:
Looking for cross-platform best practices
"Chris McFarling&quo  2005-01-17 00:52:39 
Re: Looking for cross-platform best practices
"Martin" <an  2005-01-17 14:03:56 
Re: Looking for cross-platform best practices
Eric VERGNAUD <eric.ve  2005-01-18 00:25:56 
Re: Looking for cross-platform best practices
jonhoyle@[EMAIL PROTECTED  2005-01-17 16:14:14 
Re: Looking for cross-platform best practices
"Paul" <remo  2005-01-18 21:32:09 
Re: Looking for cross-platform best practices
Deane Yang <yang2w@[EM  2005-01-19 02:16:49 
Re: Looking for cross-platform best practices
David Dunham <dunham@[  2005-01-18 22:19:15 
Re: Looking for cross-platform best practices
Thomas Engelmeier <aug  2005-01-22 21:08:53 
Re: Looking for cross-platform best practices
cmiller@[EMAIL PROTECTED]  2005-03-17 08:45:28 
Re: Looking for cross-platform best practices
Andy Dent <dent@[EMAIL  2005-03-18 12:56:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 2:50:37 CDT 2008.