Solved

how to launch Audio Tuning Wizard without using RTC API?

Posted on 2008-06-10
10
525 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
why debugging a macro i s difficult 10 28
How to jump to matching brace in eclipse editor ? 1 264
VS2015 compilation and missing DLLs 9 119
Beginner to Unreal Engine 4 5 61
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
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…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

920 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

15 Experts available now in Live!

Get 1:1 Help Now