Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Windows programming

Windows programming
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2001
Location: Wisconsin
Status: Offline
Reply With Quote
Aug 7, 2004, 12:16 AM
 
I have programmed in cocoa quite a bit. If I wanted to do windows programming, what environment would you recommend. I'm looking for something that is easy like cocoa with a language like c++ or Java. I have spent a little time with Visual C++. It seemed much more complicated and would take a lot more time before being comfortable doing anything in it. Thanks for any suggestions.
     
Registered User
Join Date: Feb 2003
Status: Offline
Reply With Quote
Aug 7, 2004, 01:51 AM
 
GNUStep objective-c on Linux and on Windows Via Cygwan. GNUMail is doen that way:

http://www.versiontracker.com/dyn/moreinfo/macosx/14141
     
seppak  (op)
Fresh-Faced Recruit
Join Date: Dec 2001
Location: Wisconsin
Status: Offline
Reply With Quote
Aug 7, 2004, 09:59 PM
 
Is there any tutorial on this, what programs you need etc. I thought GNUStep was incomplete and doing the interfaces with nib files was impossible. Thanks for any help.
     
Registered User
Join Date: Feb 2003
Status: Offline
Reply With Quote
Aug 8, 2004, 01:09 AM
 
http://gnustep.made-it.com/GSPT/xml/Tutorial_en.html

AND

http://www.gnustep.org/


Also just Google GNUStep

GNUStep is only a short step behind Apples Cocoa and they are always trying to be up to speed with Apple.
     
Forum Regular
Join Date: Mar 2000
Location: A drip off Lake Michigan
Status: Offline
Reply With Quote
Aug 8, 2004, 09:13 AM
 
Originally posted by seppak:
I have programmed in cocoa quite a bit. If I wanted to do windows programming, what environment would you recommend. I'm looking for something that is easy like cocoa with a language like c++ or Java. I have spent a little time with Visual C++. It seemed much more complicated and would take a lot more time before being comfortable doing anything in it. Thanks for any suggestions.
QT by Trolltech is crossplatform C++. However, it is complicated, though pretty amazing. It is more like Visual C++ than cocoa, but that is not necessarily a bad thing.

There are precompiled binaries here.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Aug 8, 2004, 12:01 PM
 
Originally posted by Theodour:
QT by Trolltech is crossplatform C++. However, it is complicated, though pretty amazing.
It's Qt, not QT. The capitalisation is important to avoid namespace collisions (QT is QuickTime). And if by "complicated" you mean "ugly" and "amazing" you mean "expensive", then yeah, I wholeheartedly agree.
     
Forum Regular
Join Date: Mar 2000
Location: A drip off Lake Michigan
Status: Offline
Reply With Quote
Aug 8, 2004, 12:31 PM
 
Originally posted by Angus_D:
It's Qt, not QT. The capitalisation is important to avoid namespace collisions (QT is QuickTime). And if by "complicated" you mean "ugly" and "amazing" you mean "expensive", then yeah, I wholeheartedly agree.
Yeah, but you can also use the GPL version (free). And it is really beautiful (as in beauty, not bow tie) and amazing (as in a stunning acheivement of engineering), and also complicated -- but that is the fault of C++, not Trolltech.

Now, do you want to offer another solution, or just shoot more things down?
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Aug 8, 2004, 01:08 PM
 
Why not just use Java?

If you write for the JVM, then (with reasonable ease) your application can run on virtually any platform.

If I had a dollar for every "I cater to the 95% market share" argument I've heard, I'd be on a beach in the South Pacific right now.

Fact is, if you write in Java, you cater to a larger market than 95%--closer to 100%.
(Last edited by Kristoff; Aug 8, 2004 at 03:05 PM. )
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
seppak  (op)
Fresh-Faced Recruit
Join Date: Dec 2001
Location: Wisconsin
Status: Offline
Reply With Quote
Aug 8, 2004, 02:42 PM
 
I probably will use Java if I can't get GNUStep working. I have installed this, ftp://ftp.gnustep.org/pub/gnustep/binaries/windows . However, I cannot figure out how to build ProjectCenter and Gorm. All of the tutorials I have found are for unix systems and assume you have a lot of prior knowledge with makefiles etc... Is there any tutorial which starts from scratch to having a working version of ProjectCenter and gorm. Also, if you build an application would it run on a clean install of windows without gnustep installed? thanks.
     
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status: Offline
Reply With Quote
Aug 9, 2004, 11:18 AM
 
Originally posted by Kristoff:
Why not just use Java?
It depends on the app.

Standard Java apps are not very "Mac-like" - with menu bars in windows and no support for sheets, etc. You also can't support things like AppleScript and other MacOS technologies unless you use Java Cocoa. Since you would use Cocoa, it's better to use Obj-C.

FOr anything but the simplest of apps, I'd use Cocoa/Obj-C
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Aug 9, 2004, 11:49 AM
 
RTFA!!!

Your reply makes no sense. This guy is talking about writing windows apps.

There is no easier way to write a windows application on a mac than using Java and targeting the JVM.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
seppak  (op)
Fresh-Faced Recruit
Join Date: Dec 2001
Location: Wisconsin
Status: Offline
Reply With Quote
Aug 9, 2004, 12:39 PM
 
Unfortunately there doesn't seem to be an option on windows that allows you write programs without spending too much time learning apis, ect. I have never been a fan of Java and prefer a language that is a subset of C. Classes are not always the best way to do things. Anyways, does anyone have any experience with C++ Builder or JBuilder from Borland?
     
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status: Offline
Reply With Quote
Aug 9, 2004, 01:00 PM
 
Originally posted by Kristoff:

Your reply makes no sense. This guy is talking about writing windows apps.
It makes perfect sense if I assumed he wanted to write apps for both MacOS *and* Windows. Cocoa/GNU-Step/Obj-C would be better, IMHO, provided GNUStep runs adequately on Windows.

There is no easier way to write a windows application on a mac than using Java and targeting the JVM.
Easy yes. With good results - it depends on the app.
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Aug 9, 2004, 02:26 PM
 
Originally posted by hayesk:
It makes perfect sense if I assumed he wanted to write apps for both MacOS *and* Windows. Cocoa/GNU-Step/Obj-C would be better, IMHO, provided GNUStep runs adequately on Windows.

Easy yes. With good results - it depends on the app.
Touché. I guess I need to go back and re-rtfa.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Aug 9, 2004, 02:32 PM
 
Originally posted by seppak:
I have never been a fan of Java
Possibly because you haven't taken the time to learn it?


and prefer a language that is a subset of C.
Uh....I think you mean "superset" of C.


Classes are not always the best way to do things.
True. But more often than not, when making non-trivial apps using HLLs it makes perfect sense.


Anyways, does anyone have any experience with C++ Builder or JBuilder from Borland?
I've used JBuilder before, but for some reason I prefer NetBeans. Could be that it's free, or could be that it's a pure Java app, so it runs the same on Windows, OS X, Linux, and Solaris.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Aug 9, 2004, 04:36 PM
 
Java owns
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Aug 9, 2004, 05:20 PM
 
Originally posted by itistoday:
Java owns
Indeed
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Dedicated MacNNer
Join Date: Oct 2003
Status: Offline
Reply With Quote
Aug 13, 2004, 03:29 PM
 
Yep, seppak wants Java if he wants it to be cross platform, C# if he wants the easiest Windows environment, or Python if he wants a good compromise between cross platform abilities and simplicity. I've been developing Java for the last 5 years, so I'm sick of it. But its not bad. The biggest problem is the lack of decent cross-platform GUI classes. But check out Python too.
     
seppak  (op)
Fresh-Faced Recruit
Join Date: Dec 2001
Location: Wisconsin
Status: Offline
Reply With Quote
Aug 13, 2004, 06:14 PM
 
I never really wanted cross-platform compatibility. If there was something equivalent with Cocoa on windows, that would be ideal but doesn't seem like a possibility. After thinking about using java, I have decided against it. I have never been a fan of the language or enjoy programming in it.
Unless I find a better alternative, I will probably settle on Visual C++. I only have Visual C++ 6.0 and do not want to buy a new version of visual studio for C#. Python might be an option. In my programming languages theory and design class, we learned a little about it. I remember it had some cool features most languages don't have (functions as first class objects, ect...). What IDE do you recommend if I want to use python and how easy is it to do interfaces?
     
Dedicated MacNNer
Join Date: Oct 2003
Status: Offline
Reply With Quote
Aug 13, 2004, 09:42 PM
 
Originally posted by seppak:
I never really wanted cross-platform compatibility. If there was something equivalent with Cocoa on windows, that would be ideal but doesn't seem like a possibility. After thinking about using java, I have decided against it. I have never been a fan of the language or enjoy programming in it.
Unless I find a better alternative, I will probably settle on Visual C++. I only have Visual C++ 6.0 and do not want to buy a new version of visual studio for C#. Python might be an option. In my programming languages theory and design class, we learned a little about it. I remember it had some cool features most languages don't have (functions as first class objects, ect...). What IDE do you recommend if I want to use python and how easy is it to do interfaces?
For what you want to do, honestly your best choice is C# Standard. Its $89 and has the entire Visual Studio included. You have all the nice tools including a RAD environment. There's tons of great books. This is what you want.
     
Dedicated MacNNer
Join Date: Oct 2003
Status: Offline
Reply With Quote
Aug 13, 2004, 09:46 PM
 
     
seppak  (op)
Fresh-Faced Recruit
Join Date: Dec 2001
Location: Wisconsin
Status: Offline
Reply With Quote
Aug 14, 2004, 12:49 AM
 
What advantages does it have over VisualC++ other than the language that justifies paying $90? Also, don't you have to install the .Net framework on every computer you run the program on?
(Last edited by seppak; Aug 14, 2004 at 01:24 AM. )
     
Professional Poster
Join Date: Oct 2001
Status: Offline
Reply With Quote
Aug 14, 2004, 09:46 AM
 
You know... Cocoa# is currently in active development (Mac version of C# using Mono I think). You can find out more here.
(Last edited by itistoday; Aug 14, 2004 at 09:53 AM. )
     
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Aug 14, 2004, 09:51 PM
 
Mainstream, easy GUI on windows does not exist. I have a Petzold Programming Windows book that is huge...
     
Dedicated MacNNer
Join Date: Jul 2004
Location: Ontario, Canada
Status: Offline
Reply With Quote
Aug 15, 2004, 10:52 PM
 
Originally posted by djohnson:
Mainstream, easy GUI on windows does not exist. I have a Petzold Programming Windows book that is huge...
Visual Basic or Delphi make it as easy as it possibly could be, but as a C/C++ programmer, I don't consider either of those options

MFC on Windows wraps the tedious stuff about GUI programming on Windows, but it too has it's limitations (sometimes the abstraction is too close and sometimes too far from the low-level stuff).

With that said, Microsoft Visual C++ is the only option that enjoys most of the support. It is what most companies use to develop Windows applications.
     
Dedicated MacNNer
Join Date: Oct 2003
Status: Offline
Reply With Quote
Aug 16, 2004, 08:51 PM
 
Originally posted by seppak:
What advantages does it have over VisualC++ other than the language that justifies paying $90? Also, don't you have to install the .Net framework on every computer you run the program on?
The advantage is the sheer number of goodies that come in the .Net framework. And yes, you would have to make sure .Net framework was installed, but that is sickeningly easy (in a Microsoft way of course). Plus, most Win boxes already have the .Net framework installed. I wouldn't be surprised if Windows Update shoves it down your throat.
     
Dedicated MacNNer
Join Date: Oct 2003
Status: Offline
Reply With Quote
Aug 16, 2004, 08:52 PM
 
Originally posted by djohnson:
Mainstream, easy GUI on windows does not exist. I have a Petzold Programming Windows book that is huge...
Now come on! Visual Studio C# Standard is about the easiest GUI development environment around.
     
Dedicated MacNNer
Join Date: Jul 2004
Location: Ontario, Canada
Status: Offline
Reply With Quote
Aug 16, 2004, 09:23 PM
 
Originally posted by TampaDeveloper:
I wouldn't be surprised if Windows Update shoves it down your throat.
It is available from Windows Update, but it's not shoved down your throat. It is an optional, not insignificant install.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:07 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2