Solved

how to launch Audio Tuning Wizard without using RTC API?

Posted on 2008-06-10
10
528 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

713 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