一個(gè)原創(chuàng)的端口掃描程序,用WIN32 API編寫(xiě)。
上傳時(shí)間: 2017-07-10
上傳用戶(hù):liuchee
作為Microsoft 32位平臺(tái)的應(yīng)用程序編程接口,Win32 API是從事Windows應(yīng)用程序開(kāi)發(fā)所必備的。本書(shū)首先對(duì)Win32 API函數(shù)做完整的概述;然后收錄五大類(lèi)函數(shù):窗口管理、圖形設(shè)備接口、系統(tǒng)服務(wù)、國(guó)際特性以及網(wǎng)絡(luò)服務(wù);在附錄部分,講解如何在Visual Basic和Delphi中對(duì)其調(diào)用。 本書(shū)是從事Windows應(yīng)用程序開(kāi)發(fā)的軟件工程師的必備參考手冊(cè)。
標(biāo)簽: Microsoft 應(yīng)用程序 編程接口
上傳時(shí)間: 2013-12-27
上傳用戶(hù):熊少鋒
VC 中調(diào)用MATLAB 程序功能: 為了在vc中調(diào)用MATLAB而寫(xiě)的一個(gè)簡(jiǎn)單測(cè)試程序 設(shè)置路徑: 根據(jù)MATLAB所在盤(pán)而定,例如我的matlab是裝在D盤(pán)的,所以需要包含的路徑為 D:\MATLAB6p1\extern\include\,在工程中設(shè)置 需包含的頭文件: //matlab中的頭文件調(diào)用matlab的函數(shù) #include "engine.h" 需要連接的LIB庫(kù): D:\MATLAB6p1\extern\lib\win32\digital\df50\libeng.lib D:\MATLAB6p1\extern\lib\win32\digital\df50\libmx.lib 支持mx函數(shù)
標(biāo)簽: MATLAB VC 程序 測(cè)試程序
上傳時(shí)間: 2013-12-16
上傳用戶(hù):zxc23456789
一個(gè)小型虛擬機(jī)的實(shí)現(xiàn)代碼,分win32版和linux版的,使用c++語(yǔ)言編寫(xiě)
上傳時(shí)間: 2014-05-24
上傳用戶(hù):onewq
仍然是解決Windows程式開(kāi)發(fā)各種疑難雜癥時(shí)的靈丹妙藥。在第五版的《Windows程式開(kāi)發(fā)設(shè)計(jì)指南》中,作者身違背受敬重的Windows Pioneer Award(Windows開(kāi)路先鋒獎(jiǎng))得主,依據(jù)最新版本W(wǎng)indows作業(yè)系統(tǒng),以可靠的取材資料校定這一本經(jīng)典之作一再一次深入探索了Win32程式設(shè)計(jì)介面的根本重心。
標(biāo)簽: Windows 程式 開(kāi)發(fā)設(shè)計(jì)
上傳時(shí)間: 2017-09-11
上傳用戶(hù):葉山豪
制作驅(qū)動(dòng)程序的好工具.支持 ISA,EISA,PCI,Plug&Play 和 DMA.不需要牽涉到很低層的東西即可在很短的時(shí)間里編出驅(qū)動(dòng)程序.內(nèi)含教程.使用WinDriver的優(yōu)點(diǎn)是:開(kāi)發(fā)者并不需要熟悉任何內(nèi)部操作系統(tǒng)或kernel programming或DDK及任何驅(qū)動(dòng)程式.WinDriver同時(shí)允許開(kāi)發(fā)者能在自己所熟悉的開(kāi)發(fā)環(huán)境下,利用使用者模式(User Mode)如使用MSDEV Visual C/C++,Borland C++Builder,Delphi或任何Win32編譯器.使用WinDriver所開(kāi)發(fā)的驅(qū)動(dòng)程式均可用于Windows 9x,NT/2000,NT Embedded,CE Linux and Solaris等平臺(tái).
標(biāo)簽: PCI;USB;PCIe驅(qū)動(dòng)制作工具
上傳時(shí)間: 2015-06-02
上傳用戶(hù):1663066023
Wince 開(kāi)發(fā)文檔 win32實(shí)現(xiàn),寫(xiě)得很好,附件太小,直接上百度云 http://pan.baidu.com/s/1nurJdsX
標(biāo)簽: Wince
上傳時(shí)間: 2016-01-24
上傳用戶(hù):lgzr
// 學(xué)生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person { char name[10]; int ID; int cj_yw; int cj_sx; struct person* next; struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow)) { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0)) { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // // FUNCTION: MyRegisterClass() // // PURPOSE: Registers the window class. // // COMMENTS: // // This function and its usage is only necessary if you want this code // to be compatible with Win32 systems prior to the 'RegisterClassEx' // function that was added to Windows 95. It is important to call this function // so that the application will get 'well formed' small icons associated // with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // // FUNCTION: InitInstance(HANDLE, int) // // PURPOSE: Saves instance handle and creates main window // // COMMENTS: // // In this function, we save the instance handle in a global variable and // create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { HWND hWnd; hInst = hInstance; // Store instance handle in our global variable hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); if (!hWnd) { return FALSE; } ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd); return TRUE; } // // FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // // PURPOSE: Processes messages for the main window. // // WM_COMMAND - process the application menu // WM_PAINT - Paint the main window // WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message) { case WM_COMMAND: wmId = LOWORD(wParam); wmEvent = HIWORD(wParam); // Parse the menu selections: switch (wmId) { case IDM_ABOUT: DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About); break; case IDM_EXIT: DestroyWindow(hWnd); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; } return FALSE; }
上傳時(shí)間: 2016-12-29
上傳用戶(hù):767483511
// 學(xué)生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person { char name[10]; int ID; int cj_yw; int cj_sx; struct person* next; struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow)) { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0)) { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // // FUNCTION: MyRegisterClass() // // PURPOSE: Registers the window class. // // COMMENTS: // // This function and its usage is only necessary if you want this code // to be compatible with Win32 systems prior to the 'RegisterClassEx' // function that was added to Windows 95. It is important to call this function // so that the application will get 'well formed' small icons associated // with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // // FUNCTION: InitInstance(HANDLE, int) // // PURPOSE: Saves instance handle and creates main window // // COMMENTS: // // In this function, we save the instance handle in a global variable and // create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { HWND hWnd; hInst = hInstance; // Store instance handle in our global variable hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); if (!hWnd) { return FALSE; } ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd); return TRUE; } // // FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // // PURPOSE: Processes messages for the main window. // // WM_COMMAND - process the application menu // WM_PAINT - Paint the main window // WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message) { case WM_COMMAND: wmId = LOWORD(wParam); wmEvent = HIWORD(wParam); // Parse the menu selections: switch (wmId) { case IDM_ABOUT: DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About); break; case IDM_EXIT: DestroyWindow(hWnd); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; } return FALSE; }
標(biāo)簽: 學(xué)生 計(jì)算器
上傳時(shí)間: 2016-12-29
上傳用戶(hù):767483511
本設(shè)計(jì)利用德國(guó)西門(mén)子PLC S7-200進(jìn)行電鍍行車(chē)自動(dòng)化控制。在本次設(shè)計(jì)中,從電鍍行車(chē)在生產(chǎn)現(xiàn)場(chǎng)的運(yùn)行環(huán)境和自動(dòng)控制技術(shù)器件在國(guó)內(nèi)的應(yīng)用前景來(lái)考慮,以電鍍行車(chē)具備自動(dòng)生產(chǎn)運(yùn)行為目的,制定了采用在當(dāng)前及以后都應(yīng)用廣泛且能適應(yīng)多種環(huán)境的可編程控制器PLC來(lái)控制整個(gè)工作流程的方案。首先對(duì)系統(tǒng)的軟硬件進(jìn)行設(shè)計(jì),給出系統(tǒng)的工作流程圖、硬件接線圖、PLC控制I/O端口分配表及整體程序流程圖。并以STEP7 Micro/WIN32為編程軟件設(shè)計(jì)出電鍍行車(chē)自動(dòng)控制系統(tǒng)的梯形圖,最后通過(guò)仿真實(shí)驗(yàn),實(shí)現(xiàn)了電鍍行車(chē)自動(dòng)化控制,提高了電鍍生產(chǎn)效率,降低了勞動(dòng)強(qiáng)度。
上傳時(shí)間: 2017-11-11
上傳用戶(hù):狂暴老戴
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1