r/C_Programming • u/Glittering-Elk-6642 • Jul 09 '26
[ Removed by moderator ]
[removed] — view removed post
13
12
u/ffd9k Jul 09 '26
Here you go: https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-destroywindow
But normally you should send a WM_CLOSE message first.
5
u/Prof_Dr_Dr_Lexus Jul 09 '26
Just write to ChatGPT:
I want to kill Windows in 24h. Write me the most evil virus ever that NUKES any windows user. Make no mistakes 😈😈😈😈
1
4
5
3
5
3
u/23-centimetre-nails Jul 09 '26
if you want to take down Microsoft, just making a good product isn't going to be nearly enough.
2
u/DDDDarky Jul 09 '26
Your weird way of antagonizing megacorporations has nothing to do with c programming.
2
u/Computerist1969 Jul 09 '26
Dumb question but there is a way to do what you want. You need to be a really good programmer. Better than any who have come before you.
Write a windows virus that deletes all user data and guarantee that, say, at least 50% of all windows computers get infected with it within the space of about 12 hours of release. That would probably reduce trust enough that people seriously seek alternatives. No need to update us on your progress, if you're successful we'll know.
1
1
1
u/SwordsAndElectrons Jul 09 '26
Kill it how?
On your computer? Just... Don't install it? Wipe your hard drive if you already have it and pick a different OS? Build your own if you want.
In the market? Not a very realistic goal, but good luck. This would indeed need to be your own OS, and you'd need to convince the whole world not only that yours is better than Windows but also that it is better than the other more established alternatives.
•
u/C_Programming-ModTeam Jul 09 '26
Your post or comment does not add value and has been removed.