Timeline for How to tag C++ / Windows questions
Current License: CC BY-SA 3.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 13, 2017 at 18:50 | comment | added | RbMm | @IInspectable - user asked any way for delete file more easy than use linux. he not ask do this strictly by kernel32 api. so what you wrote is unrelated | |
Oct 13, 2017 at 18:20 | comment | added | IInspectable |
@RbMm: When asked to pick a number from the set {2, 3, 5, 7, 11, 13} , and someone decides to 'pick' 8, then surely, that someone didn't honor the constraints. That someone is going to argue, that 8 is an equally good choice. It's a non-fractional number, positive, falls within the same range, and so on. The problem is, that that someone simply didn't see, what's special about the set of numbers to choose from.
|
|
Oct 13, 2017 at 18:12 | comment | added | RbMm | @IInspectable - and so what that not listed ? ntdl.dll is the same kind of dll as any another . functions is exported from it in absolute the same way as from any another dll. no any difference here at all. so this is win api. if from another side i say - create kernel mode driver, call api from ntoskrnl.exe - this is already not win api but kernel mode | |
Oct 13, 2017 at 18:07 | comment | added | IInspectable |
@RbMm: ZwDeleteFile isn't part of the Windows API, because it isn't listed in the Windows API Index. The difference between ZwDeleteFile and DeleteFile is, that one is part of the Windows API and the other isn't. A question being tagged winapi thus cannot use one, but can use the other.
|
|
Oct 13, 2017 at 17:36 | comment | added | RbMm |
@IInspectable - why ZwDeleteFile isn't part of the Windows API ? because you say this ? i say that ZwDeleteFile this is also win api. you not reply what is different between kernel32.DeleteFile and ntdll.ZwDeleteFile ? and ZwDeleteFile very well documented for use in both kernel and user mode
|
|
Oct 13, 2017 at 17:29 | comment | added | IInspectable |
@RbMm: The specific question was tagged winapi. ZwDeleteFile isn't part of the Windows API. How this is wired up internally is an implementation detail, that is deliberately undocumented. Given the constraints of the question, you didn't provide the best answer. In fact, given the constraints, you didn't even provide a sufficient answer. You need to spend more time at the help center to learn, what Stack Overflow is about. If you are more comfortable with Russian, try this instead.
|
|
Oct 13, 2017 at 17:22 | comment | added | RbMm |
@IInspectable - was concrete problem - i give concrete and the best answer how delete file - ZwDeleteFile and all. and this is also winapi. because this is only exported api function from some user mode dll. what different between kernel32.DeleteFile and ntdll.ZwDeleteFile ? only in name of dll and function. if DeleteFile is winapi - NtDeleteFile too
|
|
Oct 13, 2017 at 17:14 | comment | added | IInspectable | @RbMm: Stack Overflow is not a forum. It's a Q&A site, that tries to gather solutions to programming problems. That database should be of value to anybody, not just the OP. The tags on this question communicated a clear constraint: Use the Windows API. Tags do not serve as hints to get the attention. Tags are a queryable part of a question, to more easily find relevant solutions. | |
Oct 13, 2017 at 16:31 | comment | added | RbMm | you ask very concrete question - how delete wrong created file on your comp. the simplest way from my look - do single api call ZwDeleteFile. and here at all no sense discuss about - documented-not documented, can - can not changed etc. need once simply delete file and all. this is not program which need support and which need work on many comps. tags here only hints for get attention to problem | |
Oct 13, 2017 at 16:10 | comment | added | Hans Passant | @Cody - the opposite. The native API can change with a WIndows update, Vista was the last major version update that made heavy changes to it. A big reason why it was so popular. The winapi doesn't change. Judging from the questions, there isn't anything very subtle about Creator's edition either btw, some rainy day I'll have to stop clicking "not now". | |
Oct 13, 2017 at 16:06 | comment | added | Cody Gray Mod | Maybe I haven't looked carefully enough at the question, but I'm not seeing what Vista has to do with anything, @Hans. Are you just implying that the Windows API is deprecated and shouldn't be targeted anymore? | |
Oct 13, 2017 at 16:02 | vote | accept | Felix Dombek | ||
Oct 13, 2017 at 15:58 | comment | added | Hans Passant | Yes, if you tag a question with [winapi] then answers ought to restrict themselves to the winapi. But they chose to ignore the tag, the problem did not exactly match the tag. They ought to have removed the tag. There is pushback because this programming style is unboring but pretty unwise, Vista is getting to be a fading memory. Bigger problem I see is that when you ask a programmer to solve a problem then he tends to think only of a program to solve it. Superuser.com is the best place to get help with regaining control over your machine, 5 minutes and you're back in business. | |
Oct 13, 2017 at 15:55 | answer | added | Cody GrayMod | timeline score: 19 | |
Oct 13, 2017 at 15:48 | history | edited | Felix Dombek | CC BY-SA 3.0 |
added 1 character in body
|
Oct 13, 2017 at 15:42 | history | asked | Felix Dombek | CC BY-SA 3.0 |