This website was last updated on April-12-2009.

WARNING:

I do not support viruses, spyware, cracking, or gag programs. I only supply source code, so we can all learn, how these evil things work. You are responsible for your own actions, not me, nor my web-site.

Cplusplus_OrDie by SiLentThReaD

Welcome, I am SiLentThRead. Included is the source code for some neat programs. What inspired me the most to build this web-site, is so I can have my programs accessible from anywhere. You will need WinZip to extract the cpp files. The programs below have been tested in a Windows ME platform. I'm sure, they will work fine on all Win 9.x platforms. All the notes are in the program themselves. Email me if you have trouble compiling

Email Me

Times have changed bitch! Visit my blog for the latest shit. This site will not be updated anymore. So after you are done with this site, go to the blog... My blog Blog link added July 21, 2008

The C++ Basic Code Section

Below is the basic skeleton for an MFC application. Make sure you specify in the settings, projects tab, that you are using MFC, or else the compiler will complain. Notes and source code provided.

Below is the skeleton for a (Non-MFC)Windows program. Notes and source code provided.

Below is the skeleton for a (Non-MFC)Windows program, that checks if you hit a character on the keyboard. Notes and source code provided.

The C++ Malicious Code Section

Below is an MFC skeleton, that runs hidden in the background. This is great for gag programs, or surveyleance. Notes and source code provided.

Below is the skeleton for a (Non-MFC)Windows program, that runs hidden in the background. You can still Ctrl-Alt-Delete. Notes and source code provided.

Below is the source code for an application that runs hidden, and cannot be closed via the task list(ctrl-alt-delete). It worked in MFC and WinAPI, but not in console applications

Well, why hide an application from ctrl-alt-delete, when you can just prohibit ctrl-alt-delete. Oh yeah, click below.

Below is the source code for a program that deletes itself. The code also shows how to get a handle to you current module, and how to get the pathname to the application you are running.

Below is the source code for a program that hides the start button, and then pops it back after a single keystroke. The main purpose of this code, is to show you how to get a handle to a child window, and then hide it

Below is the source code for program that uses DirectX(DirectDraw). It just blanks out the screen, but you can still ctrl-alt-delete. You can remove this option by removing the DDSCL_ALLOWREBOOT flag from the SetCooperativeLevel function. I would not recommend it until you have saved all your work, closed all other applications, and are ready to reboot your PC. Notes and source code provided.

Below is a program that changes the desktop wallpaper programmatically. Notes and source code provided.

Below is the source code for a cpp program that returns the local host name of the PC you are using. Every PC has a local host name. It uses WinSock. Check out the notes on the program.

Below is the source code for a program that dials a phone number using the ras.h functions. Put this in a loop and you can annoy the hell out of someone. Notes and source code provided.

Below is the source code for a program that gets a handle to Notepad, and then gets a handle to its edit window. After that, it sends WM_KEYDOWN messages to it. This is a great scare to anyone who is currently typing into Notepad. Notes and source code provided.

Below is the source code for a program, that adds the Windows paint program to the Windows registry. It adds it to the run section, so every time you boot your PC, after it loads Windows, paint runs on its own. You can do this to any program you like, as long as you specify the path name. The notes are in the program itself.

Below is the source-code for a program, that returns the local IP address of the computer you are using. Make sure to include the necessary library files. Notes and source code provided.

Below is the source code to a program that locks up Notepad. If you are typing into Notepad, it will lock all GDI updates. It will unlock it in 10 seconds, and everything that you typed will appear. This can be done to any application you want, as long as you retrieve its handle via the FindWindow function. Notes and source code provided.

Below is the source code to a program that shuts down the monitor. Be sure to save your work, because you might have to reboot. Notes and source code provided.

Below is the source code to a program that changes the CAPS LOCK state. This can be very annoying if you are typing into a text field. Notes and source code provided.

The Tutorial Section

Below is a tutorial that explains how a basic Windows application works. I left some notes out, but I hope you can learn something new. It's a good refresher if you have not programmed in windows for a while. It's also good for beginners who want a basic understanding. Notes and source code provided.

The Links Section

HTML LINKS
HTML Primer (This is where I got started)

Windows Assembly LINKS
Iczelion WinAsm

Cracking and Reverse Eng. LINKS
anticrack.de, a great place to start your reversing career. .de is the country code for Germany
Krobar

C++ LINKS
Nice tutorial at: cplusplus.com
Another good forum: cpp-home.com

Other LINKS
How to safely hack the start button
experts-exchange.com
planetsourcecode.com
Game Maker Pages. They have a great dev kit.

The Inspirational Thoughts Section

Inspirational Note: Not setting goals in life, keeps you from being disappointed if you do not accomplish them. Not setting goals also keeps you with the need and urge to set them. You can use this need an urge to actually keep yourself busy doing what you like.

Inspirational Note: Writing stupid programs that don't accomplish anything is the key to being successful in life.

Inspirational Note: A key to staying motivated in c++: When you start a project, make sure are ready to accept the fact, that your idea may not work. This way you know if a project is really worth going after, or if you are willing to take those chances. This is something you must think about everyday.

Inspirational Note: If you can't figure out the dam thing, then get a wrapper class. Save some time, and learn about the big picture instead.

Inspirational Note: If you need to post your question in a forum, or if you need to browse for more than 30 minutes, you must instead, drop the subject, move on, or move on to another computer language. Don't waste time. This is the first step to being l337.

Hosted by www.Geocities.ws

1