#include #include int main() { // Open a handle to the file HANDLE hFile = CreateFile( L"C:\\NewFile.txt", // Filename GENERIC_WRITE, // Desired access FILE_SHARE_READ, // Share mode NULL, // Security attributes CREATE_NEW, // Creates a new file, only if it doesn't already exist FILE_ATTRIBUTE_NORMAL, // Flags and attributes NULL); // Template file handle if (hFile == INVALID_HANDLE_VALUE) { // ..
#include DWORD WINAPI DoStuff(LPVOID lpParameter) { // The new thread will start here return 0; } int main() { // Create a new thread which will start at the DoStuff function HANDLE hThread = CreateThread( NULL, // Thread attributes 0, // Stack size (0 = use default) DoStuff, // Thread start address NULL, // Parameter to pass to the thread 0, // Creation flags NULL); // Thread id if (hThread == ..
#include int main() { STARTUPINFOW si = { 0 }; si.cb = sizeof(si); PROCESS_INFORMATION pi = { 0 }; // Create the child process BOOL success = CreateProcessW( L"C:\\Windows\\system32\\notepad.exe", // Path to executable NULL, // Command line arguments NULL, // Process attributes NULL, // Thread attributes FALSE, // Inherit handles 0, // Creation flags NULL, // Environment NULL, // Working directo..
- Total
- Today
- Yesterday
- 개발자
- Java
- Python
- 카톡업데이트
- react
- 부동산분석
- 내집마련
- golang
- JavaScript
- AI
- 카카오톡
- HTML
- CSS
- MacOS
- go
- 생각
- Frontend
- WinAPI
- Linux
- 프로그래밍
- Spring
- ChatGPT
- 부동산
- ios
- reactjs
- 아이폰
- 파이썬
- Backend
- SWiFT
- 재건축
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |