Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to launch Audio Tuning Wizard without using RTC API?

Posted on 2008-06-10
10
Medium Priority
?
536 Views
Last Modified: 2012-06-21
Well

I nedd to launch the Audio Tuning Wizard without use the RTC API. Some piece of sample code in C++ will really help.
0
Comment
Question by:rflopes3
  • 5
  • 4
10 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 21752634
If you can determine the name of the executable (the Task Manager might help here), a hearty

ShellExecute(NULL,_T("open"),_T("AudioTuningWizard.exe"),NULL,NULL,SW_SHOW);

should do that.
0
 

Author Comment

by:rflopes3
ID: 21753153
ok but I believe that there are no executable file for the tuning wizard. I believe some api call is the answer.

Still waiting...
0
 
LVL 86

Expert Comment

by:jkr
ID: 21753200
When you run the Wizard and check the Task Manager, what process does it point to?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:rflopes3
ID: 21753437
A rundll.exe process appears ! I believe that is a Comm method to call this. This is extremely urgent here !
0
 
LVL 86

Expert Comment

by:jkr
ID: 21753477
'rundll32.exe' loads a DLL and executes a function passed as an argument - use the code at http://www.winterdom.com/dev/ptk/cmdline.c to get that command line and you are done, just pass the same command to 'ShellExecute()'.
0
 

Author Comment

by:rflopes3
ID: 21753924
Thanks a lot for the help but Well, no good news. Actually the tuning wizard does not start any new process so the code cannot help me. The rundll process is created by the windows multimedia configuration so, I'm at the start point.
0
 
LVL 86

Expert Comment

by:jkr
ID: 21754096
Hm, what is the command line then?
0
 

Author Comment

by:rflopes3
ID: 21754177
C:\windows\system32\rundll32.exe " C:\windows\system32\shell32.dll, Control_rundll "C:\windows\system32\mmsys.cpl", @0

This the the comand line.

Weird !!!
0
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 21754687
That's not really weird, just some not so well known way Windows launches some helpers. Try
ShellExecute(NULL,_T("open"),_T("rundll32.exe"),_T("C:\windows\system32\shell32.dll,Control_rundll C:\windows\system32\mmsys.cpl,@0"),NULL,SW_SHOW);

Open in new window

0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question