C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 14th, 2004, 05:17 AM
neoncoder neoncoder is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 neoncoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
C++ Help

HI,
I have a question and i have done a lot of reasearch and cant find a answer.I have a source code (Program.c) C++ code and its just a simple program that takes a input as a wav and encodes it into AAC Audio Compression by using Ahead nero AAC encoding dll's.It uses a command line like this "Encoder [options] <infile> <outfile>"
.Similar to that but the thing i really want to do is just make a simple gui that has a add button,encode button and options configuration window and a progress bar.How do you do this, is it with visual basic or what, please somebody help me.Example you know the mp3 encoder called lame it is a dos like program like mine but somebody created a nice little gui for it.All you do is open the lame gui and locate the command line "lame mp3 encoder" exe and push some buttons in the gui and it encodes wonderfully without no dos commands or nothing.So please someboddy help me create a simple gui.


Reply With Quote
  #2  
Old December 14th, 2004, 11:20 AM
marmo marmo is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 37 marmo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 15 m 20 sec
Reputation Power: 5
You are gonna have to learn some form of win32 programming. Either Visual Basic, MFC, or the win32 API. There is an ebook called "Learn Visual C++ in 21 Days", it teaches you how to make dialog based applications in MS Visual C++, you might want to start there.

Reply With Quote
  #3  
Old December 14th, 2004, 02:47 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
So all you're doing is essentially making calls to a commandline program?

If you have little/no programming experience, you might find VisualBasic easier to pickup... otherwise, most programming languages include a command to make shell calls to execute another program. Use whichever language you're comfortable with.

Have you dealt with GUI and C++ before?
VisualC++ may be what you're looking for...

On the otherhand, you may want to scour the internet to find out of a Frontend for the particular encoder already exists... afterall, why reinvent the wheel... =)
Unless it's more the programming experience you're going after... then by all means...

Reply With Quote
  #4  
Old December 14th, 2004, 06:58 PM
neoncoder neoncoder is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 neoncoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank You for answering,
At the moment i have this software:
Visual Basic 2005 Express Edition Beta
Visual C# 2005 Express Edition Beta

So how exactly do i make a win32 gui frontend.
I cant use visual basic, It will not let me open my code
(Program.c), Can you open a exe ?.I have found no guides on how to make a frontend
for a command line program.

Reply With Quote
  #5  
Old December 18th, 2004, 01:21 PM
loopy123 loopy123 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 13 loopy123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
So all you're doing is essentially making calls to a commandline program?

If you have little/no programming experience, you might find VisualBasic easier to pickup... otherwise, most programming languages include a command to make shell calls to execute another program. Use whichever language you're comfortable with.

Have you dealt with GUI and C++ before?
VisualC++ may be what you're looking for...

On the otherhand, you may want to scour the internet to find out of a Frontend for the particular encoder already exists... afterall, why reinvent the wheel... =)
Unless it's more the programming experience you're going after... then by all means...

Thats not exactly true, we use commandlines all the time in electrical engineering programs, simply because we need the program to do things quickly, not run all fancy.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > C++ Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT