Wasnt it like this that an NT system takes care of all open handles when a process exits ? If so, then there is no need to do a cleanup. I mean it can be a side effect of a system trying to reclaim...
I believe 100% customisation is something ENTIRELY different than what i proposed. If what I proposed is 100% customisation, then it also means there can be no more customisation? What i propose i a...
Can you plz explain what you mean by "i want the user to choose when they close down my application..."? Anyone can close your app any time by clicking the 'X' button, no? No need to bother with...
1. Look up 'CSocket' class. It's part of MFC for dealing with IP network comunication. Not very professional, but can give you a good start. If you know how networks work and programmed it would be...
Yes. When the icon is registered with the tray, after calling the ShellXXX function (dont remember which), the icon will get updates for redraw and such AS LONG as the process runs that called the...
Yes, last time i fired up Installshield thing, it had option of scripting registry writing schemes. But i really hate Installshield, it is such a benemoth of an app, and all for nothing. Amuses me...
If you are an aware programmer, you would put all the settings which are the same for all users i.e. machine level settings, settings which have to do with program configuration regardless of which...
You dont need MFC for anything, but you can choose it if you want. From your specs, it looks like you can do just fine without it. By the way, when explorer crashes, it doesnt take your program with...
I have made owner-drawn windows without anything at all. Just the client area, and it was, like i said, owner drawn, so when the window appears, you dont see it, because it just reserves space on...
If you want to be serious, use the Theme API. Look it up on MSDN. It is synonymous with 'owner-drawn' controls, but is the 'official' way of doing it. Because it provides a way of changing the skin...
Actually neither 'WinMain' nor 'main' are entry-points into any Windows application. I dont seem to recall the name of the entry point symbol, but you can override it, if you want to jump start a...
Latest ACPI as far as I know, allows to wake the computer up at certain time given that all the hardware is up to it (i.e. compliant to ACPI specs). They way it is done, is that the BIOS is written...
GetProp and SetProp are more elegant and portable than SetWindowLongPtr i think. basically they allow storing properties for a window, be it a handle or a pointer. The multithreading is not an issue,...
Shall we have an honest competition for solving the problem ? We can post our results later, and compare who has the most elegant solution and who was fastest :) I love competitions !