Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 540
  • Last Modified:

how to launch Audio Tuning Wizard without using RTC API?

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
rflopes3
Asked:
rflopes3
  • 5
  • 4
1 Solution
 
jkrCommented:
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
 
rflopes3Author Commented:
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
 
jkrCommented:
When you run the Wizard and check the Task Manager, what process does it point to?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
rflopes3Author Commented:
A rundll.exe process appears ! I believe that is a Comm method to call this. This is extremely urgent here !
0
 
jkrCommented:
'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
 
rflopes3Author Commented:
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
 
jkrCommented:
Hm, what is the command line then?
0
 
rflopes3Author Commented:
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
 
jkrCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now