Re: testing a dll problem
RESTART the Computer??? Not sure why you've got to do that..
What you should be doing is have Visual C++ in your DLL's project and set up the associated "executable for debug session" on the "debug tab" of the project's "settings" dialog... The project's settings dialog can be brought up by right clicking on the project workspace from the "files" view. Now you can execute your main program and compile and debug your dll just like a normal windows project.
One other thought.. Graphical issues like this are often hosed up by running them in the debugger which plays havoc with your windows refresh and repainting messages.. If you have trouble.. exectuing your program from the
"build"->"exectute program name" menu items instead of running the debugger..
Good luck.. hope this helps..
Re: testing a dll problem
Hi,
You have two ways:
a) kill & restart explorer process. To kill it, do Start / Shutdown... (so the Shut down / restart etc. dialog box opens). In the dialog box, hold ctrl-alt-shift, and click the cancel button.
Under Win9x, make sure you have a DOS box open so you can re-run explorer.
Under WinNT/W2K, you can kill & run the process from TaskManager
b) (NT only, I think) configure Windows Explorer to open each window in a separate process. It's hidden somewhere on the long options list.
Good luck
Peter
P.S. I like the rates ;-)