Click here to Skip to main content
15,905,232 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRE: Basic OOP question... Pin
Paul Selormey22-Nov-99 20:55
Paul Selormey22-Nov-99 20:55 
GeneralThanks but... Pin
Braulio Diez22-Nov-99 21:20
sussBraulio Diez22-Nov-99 21:20 
GeneralRE: Thanks but... Pin
Henk Devos23-Nov-99 9:27
Henk Devos23-Nov-99 9:27 
GeneralRE: Basic OOP question... Pin
sandrine22-Nov-99 22:07
sandrine22-Nov-99 22:07 
GeneralRE: RE: Basic OOP question... Pin
Braulio Diez23-Nov-99 1:57
sussBraulio Diez23-Nov-99 1:57 
GeneralRE: RE: RE: Basic OOP question... Pin
Anonymous23-Nov-99 7:41
suss Anonymous23-Nov-99 7:41 
GeneralRe: Basic OOP question... Pin
Member 147421-Apr-00 11:01
Member 147421-Apr-00 11:01 
GeneralDebugging Control Panel Applets Pin
Farzad Bakhtiar9-Apr-00 21:56
sussFarzad Bakhtiar9-Apr-00 21:56 
I have found information on how to debug control panel applets using Visual C++ but I have a few question I hope you folks can help me with.

MSDN Knowledge Base article number Q166168 says to set the exectuable for the control panel as;

C:\winnt\system32\rundll32.exe

and the program arguments as;

shell32.dll,Control_RunDLL [path and name of CPL file]

The KB mentions this information is valid for all version of Windows. The instructions seems simple enough but I'm having some problems so my 2 questions are;

1. When I specify the full path to my control panel which would be in the default debug folder as set by Devstudio I can't debug the applet. When I run the project nothing seems to happen, it just exits with no error code or any other indication of a problem. If I specify the path to the Windows system folder and place the applet there it seems to work fine but ... (see problem 2)

2. I can't copy over the control panel once it's placed in the system folder and accessed. It must be kept in memory since Windows doesn't allow replacing the file. I know there is a way to force COM DLL's to unload from memory once they are not used, does anyone know if the same is possible with control panel applets? Perhaps a registry setting or some other mechanism to make the OS not cache the control panel in memory and essentially kick it out of memory.

Thanks in advance for any help ...
GeneralGetFieldValue() throws an exception Pin
Stefan20-Nov-99 5:25
Stefan20-Nov-99 5:25 
GeneralRE: GetFieldValue() throws an exception Pin
Member 40424-Nov-99 9:38
Member 40424-Nov-99 9:38 
GeneralRe: a step by step running Pin
goldmount19-Nov-04 3:25
goldmount19-Nov-04 3:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.