Computing.Net > Forums > Programming > Running CPL applets C++

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Running CPL applets C++

Reply to Message Icon

Name: Jeff
Date: December 17, 2003 at 08:58:03 Pacific
OS: WinXP
CPU/Ram: 3.2 Ghz
Comment:

I'm making an app that runs a control panel applet, the code i used to use to do this was somethin like this:
WinExec(rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
But this doesn't work in XP, so i've tried to use the ShellExecute function but this doesn't seem to do anythin.
Any suggestions on how i can run a CPL file using C++ MFC.



Sponsored Link
Ads by Google

Response Number 1
Name: Zach
Date: December 17, 2003 at 18:45:24 Pacific
Reply:

I dont think that you can run C++ on MS XP
I have it and....well I was told that it dont work...
ZDW


0

Response Number 2
Name: Craig
Date: December 18, 2003 at 10:19:37 Pacific
Reply:

Zach: well to not be very mean I'll just say BS!

Jeff: does it compile or just not run correctly? I'll take a look at it, however if you can get it to work from the run prompt then it should work. I'll give it a try.


0

Response Number 3
Name: Sord
Date: December 18, 2003 at 10:25:51 Pacific
Reply:

Jeff: if you try running appwiz.cpl in the run prompt alone, it works. Try:
system("appwiz.cpl");
or if you like WinExec you could try running it from that as if it was a program.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Running CPL applets C++

Running program of C(very small pro www.computing.net/answers/programming/running-program-of-cvery-small-pro/4473.html

How to run Borland's C++ compiler in XP www.computing.net/answers/programming/how-to-run-borlands-c-compiler-in-xp/451.html

Run and compile Java file in VB6? www.computing.net/answers/programming/run-and-compile-java-file-in-vb6/15563.html