Go to Post Time flies when you're freaking out. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-12-2007, 22:52
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Creating Windows GUIs with C++

It gets better and better.
__________________
  #2   Spotlight this post!  
Unread 20-12-2007, 23:28
TimCraig TimCraig is offline
Registered User
AKA: Tim Craig
no team
 
Join Date: Aug 2004
Rookie Year: 2003
Location: San Jose, CA
Posts: 221
TimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to behold
Re: Creating Windows GUIs with C++

Quote:
Originally Posted by slavik262 View Post
It gets better and better.
While the fundamentals of writing Windows applications is relatively straightforward, it's all the arcane gotchas that take a long time to come across and learn so you can be really good. If you're looking for a C++ framework, I'd go with MFC to start. There's good Wizard support in Visual Studio and lots of help available on the Web. There are literally thousands of examples to be had. www.codeproject.com is a very good source of both information and examples. One comment about examples though, the ones provided directly by Microsoft are horrible and you'd be better off never looking at them.

Another good choice for a C++ framework is WTL, Windows Template Library. It was originally developed as a side project within Microsoft to be what MFC was not, a object oriented C++ solution. Since it uses templates heavily, it's probably not that easy for a beginner to get up to speed on. It was never officially supported by Microsoft and is now an open source at Source Forge. It's what I'm currently using for what little Windows programming I do these days.
  #3   Spotlight this post!  
Unread 21-12-2007, 10:07
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Creating Windows GUIs with C++

So much for being able to distribute just my executable.

However, I really appreciate you guys. Awesome help. This really shows how awesome FIRST (and CD) are.
__________________

Last edited by slavik262 : 21-12-2007 at 10:10.
  #4   Spotlight this post!  
Unread 21-12-2007, 14:25
TimCraig TimCraig is offline
Registered User
AKA: Tim Craig
no team
 
Join Date: Aug 2004
Rookie Year: 2003
Location: San Jose, CA
Posts: 221
TimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to behold
Re: Creating Windows GUIs with C++

Quote:
Originally Posted by slavik262 View Post
So much for being able to distribute just my executable.
Oh, that's one advantage of WTL I forgot to mention. WTL requires no additional DLLs unless you explicitly decide to link to additional libraries. And in that case you know what you require. Also, your application can be quite small since you don't drag in things you're not using.
  #5   Spotlight this post!  
Unread 21-12-2007, 15:18
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Creating Windows GUIs with C++

Hang on, were you able to send it to your friends?
__________________
TEAM 2230 ZECHARIA'S ANGELS

2009 Microsoft Israel FRC Regional Winners!
2009 Microsoft Israel FRC Regional Chairman's Award Winners!!!
---------------------------------
2008 Microsoft Israel FRC Regional semi-finalist.
2008 Microsoft Israel FRC Regional Delphi's "Driving Tommorow's Technology" Award winner.
2008 Robot Driver
---------------------------------
2007 GM/Technion Israel FRC Regional semi-Finalist.
2007 GM/Technion Israel FRC Regional Xerox Creativity Award winner.
2007 Robot Driver.
  #6   Spotlight this post!  
Unread 21-12-2007, 16:13
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Creating Windows GUIs with C++

Wow! Now I remember why I gave up on Win32 so long ago. I was in pretty much you exact position 5 years ago. After running into so many "gotchas" (I had a different word for them), I decided to cut my losses. I switched to Python and haven't looked back.

I won't start a holy war thread here, but you may want to carefully consider exactly what you want to do, and then compare your available language options before committing.

I would also like to highly recommend "How to Think Like a Computer Scientist" by Allen Downey. You can download it for free at http://www.greenteapress.com/thinkpython/
Allen Downey is a prof at Olin College (my alma mater). Several years ago he wrote a Java version of the book and copy-lefted it. Someone took the book, revised it for Python, and rereleased it. Allen then read this book and learned Python.

... Yes, he learned Python by reading his own book!

It has some chapters that deal with a little bit of user interfacing, so it shouldn't be hard at all to get going.

Good luck!
Eric
  #7   Spotlight this post!  
Unread 22-12-2007, 10:47
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Creating Windows GUIs with C++

Not to be a killjoy but I know someone who uses python and his application is fairly slow, for the simplest of programs you have to package the exe with tons of files, it just seems like a hassle. If you are going to learn a different language to do it C# is the way to go. C# is the most similar to C++ as well
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is easyC compatible with windows vista team877 Programming 10 12-02-2007 12:43
What to do with an old Windows 3.10 laptop? Elgin Clock IT / Communications 13 14-07-2005 17:45
Prob. With Windows 2k Staz Programming 2 15-01-2005 10:15
Creating no pressure with double solenoid? Combat Chuck Pneumatics 7 29-02-2004 22:45
Need Help With Windows Applications In C++ Hailfire Programming 9 05-01-2003 10:13


All times are GMT -5. The time now is 00:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi