I can think of a way to achieve it using SHGetFolderPath(). If I pass the corresponding value of CSIDL[^] to get the public desktop, the API should return something like C:\Documents and Settings\All Users\Desktop, which I can strip down to C:\Documents and Settings.
It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.
You could also use SHGetSpecialFolderPath() and pass CSIDL_APPDATA to it. This would give you something like "D:\Documents And Settings\Administrator\Application Data". The AppData folder always exists as far as I know.
Go and never darken my towels again - Groucho Marx
I have a question in windows base development,
I am using VS C++ is it possible to create a packet cannon that use multiple proxy servers to send the packet.
In multi i mean that the packet go from one proxy to another one and so on till the target location.
I can use one proxy server for each package that i send, but is it possible to use more then one for the same package?
What the hell are you talking about ?
Furthermore, nobody is going to do the work for you and provide the full source code. You have to do the work on your own and ask specific questions when you are stuck.
Not exactly, i want to find some data in that file.
So need to until that point is enough, but that search may be on last part.
So i need a mechanism to do so.
I believe CreateFileMapping can be used, do u think, its a good solution?