Solved

how to launch Audio Tuning Wizard without using RTC API?

Posted on 2008-06-10
10
524 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
 

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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 500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now