| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
||||
|
||||
|
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... |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
Quote:
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. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > C++ Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|