1. DLL(Dynamic Linkable Library) DLL lib EXE DLL EXE EXE EXE DLL 1 DLL DLL DLL Windows DLL Windows API Visual Basic Visual C++ Delphi 2 Windows system

Size: px
Start display at page:

Download "1. DLL(Dynamic Linkable Library) DLL lib EXE DLL EXE EXE EXE DLL 1 DLL DLL DLL Windows DLL Windows API Visual Basic Visual C++ Delphi 2 Windows system"

Transcription

1 VC++ Pconline DLL DLL DLL WINRAR VC++6.0 DLL C C++ MFC MFC DLL 5 MFC DLL 6 MFC DLL

2 1. DLL(Dynamic Linkable Library) DLL lib EXE DLL EXE EXE EXE DLL 1 DLL DLL DLL Windows DLL Windows API Visual Basic Visual C++ Delphi 2 Windows system32 kernel32.dll user32.dll gdi32.dll windows API DLL kernel32.dll user32.dll gdi32.dll MessageBox user32.dll DLL (3)VC Visual C++ DLL Non-MFC DLL MFC MFC Regular DLL MFC DLL MFC Extension DLL MFC DLL MFC MFC C MFC MFC MFC DLL CWinApp MFC DLL MFC MFC

3 2 DLL 1 1 VC++6.0 new libtest static library libtest.zip lib.h lib.cpp lib.h lib.cpp #include <stdio.h> #include "..\lib.h" #pragma comment( lib, "..\\debug\\libtest.lib" ) int main(int argc, char* argv[]) printf( "2 + 3 = %d", add( 2, 3 ) ); //.lib add.lib add Turbo C2.0 C scanf printf memcpy strcpy

4 3 DLL F5 debug CTRL+F5 3 EXE 3 VC F11 2 libtest libcall 4 4 Visual C++ Depends

5 Depends user32.dll MessageBox 5 Depends DLL Depends DLL DLL DLL MFC DLL

6 4. MFC DLL 4.1 DLL 2 add add 6 VC++ new Win32 Dynamic-Link Library dlltest MFC AppWizard(dll) MFC AppWizard(dll) 5 6 MFC 6 MFC DLL lib.h lib.cpp /* lib.h */ #ifndef LIB_H #define LIB_H extern "C" int declspec(dllexport)add(int x, int y); #endif /* lib.cpp */

7 #include "lib.h" int add(int x, int y) return x + y; 2 DLL dllcall DLL add #include <stdio.h> #include <windows.h> typedef int(*lpaddfun)(int, int); // int main(int argc, char *argv[]) HINSTANCE hdll; //DLL lpaddfun addfun; // hdll = LoadLibrary("..\\Debug\\dllTest.dll"); if (hdll!= NULL) addfun = (lpaddfun)getprocaddress(hdll, "add"); if (addfun!= NULL) int result = addfun(2, 3); printf("%d", result);

8 FreeLibrary(hDll); return 0; dlltest lib.cpp 2 lib.h add declspec(dllexport) add DLL DLL (1)DLL (2) DLL DLL DLL 2 typedef int ( * lpaddfun)(int,int) add main lpaddfun addfun main DLL HINSTANCE hdll Win32 Api LoadLibrary DLL DLL hdll main Win32 Api GetProcAddress DLL add addfun DLL add DLL main Win32 Api FreeLibrary DLL DLL (1)DLL (2) DLL

9 4.2 DLL 4.1 declspec(dllexport) (.def).def.def add DLL dlltest lib.def ; lib.def : DLL LIBRARY dlltest EXPORTS 1.def (1)LIBRARY.def DLL n (3).def (;) lib.def dlltest add add DLL 4.1 LoadLibrary-GetProcAddress-FreeLibrary Api DLL -DLL -DLL DLL API DLL DLL DLL IP DHCP DLL

10 DLL DLL DLL DLL DLL Windows DLL 1 DLL dlltest.lib.dll dllcall dllcall #pragma comment(lib,"dlltest.lib") //.lib DLL extern "C" declspec(dllimport) add(int x,int y); int main(int argc, char* argv[]) int result = add(2,3); printf("%d",result); return 0; (1) DLL.lib #pragma comment(lib,"dlltest.lib") DLL.lib DLL.lib DLL (2) extern "C" declspec(dllimport) add(int x,int y) declspec(dllimport) API DLL DLL

11 .lib EXE.lib DLL EXE DLL Windows DLL EXE DLL 4.4 DllMain Windows DLL DOS main WIN32 WinMain DLL DllMain DLL Windows DllMain DllMain DLL DllMain Windows DLL DllMain DLL DLL DLL DllMain DllMain DllMain BOOL APIENTRY DllMain( HANDLE hmodule, DWORD ul_reason_for_call, LPVOID lpreserved ) switch (ul_reason_for_call) case DLL_PROCESS_ATTACH: printf("\nprocess attach of dll"); break; case DLL_THREAD_ATTACH: printf("\nthread attach of dll");

12 break; case DLL_THREAD_DETACH: printf("\nthread detach of dll"); break; case DLL_PROCESS_DETACH: printf("\nprocess detach of dll"); break; return TRUE; DllMain DLL DLLMain ul_reason_for_call 4 PROCESS_ATTACH PROCESS_DETACH THREAD_ATTACH THREAD_DETACH switch DllMain BOOL APIENTRY DllMain( HANDLE hmodule, WORD ul_reason_for_call, LPVOID lpreserved ) APIENTRY stdcall Pascal WINAPI DLL 32 HINSTANCE DLL Win32 HINSTANCE HMODULE hmodule hdll = LoadLibrary("..\\Debug\\dllTest.dll"); if (hdll!= NULL)

13 addfun = (lpaddfun)getprocaddress(hdll, MAKEINTRESOURCE(1)); //MAKEINTRESOURCE if (addfun!= NULL) int result = addfun(2, 3); printf("\ncall add in dll:%d", result); FreeLibrary(hDll); process attach of dll call add in dll:5 process detach of dll DllMain GetProcAddress ( hdll, MAKEINTRESOURCE ( 1 ) ).def add add MAKEINTRESOURCE ( 1 ) MAKEINTRESOURCE winuser.h #define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i))) #define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i))) #ifdef UNICODE #define MAKEINTRESOURCE MAKEINTRESOURCEW #else #define MAKEINTRESOURCE MAKEINTRESOURCEA

14 4.5 stdcall VC++ DLL stdcall WINAPI C/C++ cdecl stdcall cdecl C ( C++ extern "C") _functionname@number cdecl _functionname Windows stdcall cdecl windef.h #define CALLBACK stdcall // #define WINAPI stdcall // WINAPI #define WINAPIV cdecl #define APIENTRY WINAPI //DllMain #define APIPRIVATE stdcall #define PASCAL stdcall lib.h add int stdcall add(int x, int y); typedef int( stdcall *lpaddfun)(int, int); lib.h stdcall typedef int (* lpaddfun)(int,int) cdecl 7

15 7 8 This is usually a result of stdcall 4.6 DLL DLL DLL DLL /* lib.h */ #ifndef LIB_H #define LIB_H extern int dllglobalvar; #endif /* lib.cpp */ #include "lib.h" #include <windows.h> int dllglobalvar;

16 BOOL APIENTRY DllMain(HANDLE hmodule, DWORD ul_reason_for_call, LPVOID lpreserved) switch (ul_reason_for_call) case DLL_PROCESS_ATTACH: dllglobalvar = 100; // dll 100 break; case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; return TRUE; ; lib.def ; DLL LIBRARY "dlltest" EXPORTS dllglobalvar CONSTANT ; dllglobalvar DATA GetGlobalVar

17 lib.h lib.cpp DLL.def EXPORTS CONSTANT // DATA //VC++ DLL #include <stdio.h> #pragma comment(lib,"dlltest.lib") extern int dllglobalvar; int main(int argc, char *argv[]) printf("%d ", *(int*)dllglobalvar); *(int*)dllglobalvar = 1; printf("%d ", *(int*)dllglobalvar); return 0; extern int dllglobalvar DLL DLL *(int*)dllglobalvar DLL dllglobalvar = 1;

18 dllglobalvar DLL DLL #include <stdio.h> #pragma comment(lib,"dlltest.lib") extern int _declspec(dllimport) dllglobalvar; // _declspec(dllimport) int main(int argc, char *argv[]) printf("%d ", dllglobalvar); dllglobalvar = 1; //, printf("%d ", dllglobalvar); return 0; _declspec(dllimport) DLL 4.7 DLL DLL DLL point circle // point.h point #ifndef POINT_H

19 #define POINT_H #ifdef DLL_FILE class _declspec(dllexport) point // point #else class _declspec(dllimport) point // point #endif public: float y; float x; point(); point(float x_coordinate, float y_coordinate); ; #endif // point.cpp point #ifndef DLL_FILE #define DLL_FILE #endif #include "point.h" // point point::point()

20 x = 0.0; y = 0.0; // point point::point(float x_coordinate, float y_coordinate) x = x_coordinate; y = y_coordinate; // circle.h circle #ifndef CIRCLE_H #define CIRCLE_H #include "point.h" #ifdef DLL_FILE class _declspec(dllexport)circle // circle #else class _declspec(dllimport)circle // circle #endif public: void SetCentre(const point repoint);

21 void SetRadius(float r); float GetGirth(); float GetArea(); circle(); private: float radius; point centre; ; #endif // circle.cpp circle #ifndef DLL_FILE #define DLL_FILE #endif #include "circle.h" #define PI //circle circle::circle() centre = point(0, 0); radius = 0;

22 // float circle::getarea() return PI *radius * radius; // float circle::getgirth() return 2 *PI * radius; // void circle::setcentre(const point repoint) centre = centrepoint; // void circle::setradius(float r) radius = r;

23 #include "..\circle.h" // #pragma comment(lib,"dlltest.lib"); int main(int argc, char *argv[]) circle c; point p(2.0, 2.0); c.setcentre(p); c.setradius(1.0); printf("area:%f girth:%f", c.getarea(), c.getgirth()); return 0; DLL DLL_FILE class _declspec(dllexport) point // point class _declspec(dllexport) circle // circle

24 DLL_FILE point.h circle.h class _declspec(dllimport) point // point class _declspec(dllimport) circle // circle DLL class _declspec(dllexport) class_name // circle class _declspec(dllimport) class_name //

25 class _declspec(dllexport) class_name class _declspec(dllimport) class_name #ifdef DLL_FILE class _declspec(dllexport) class_name // #else class _declspec(dllimport) class_name // #endif MFC DLL _declspec(dllexport) _declspec(dllimport) DLL DLL DLL VC++ MFC DLL MFC DLL 4 MFC DLL MFC DLL

26 5. MFC DLL 5.1 MFC DLL 1 MFC MFC DLL MFC 2 MFC DLL MFC DLL MFC DLL MFC DLL MFC Regular DLL DLL MFC CWinApp DllMain MFC Regular DLL 1 MFC DLL MFC DLL MFC MFC DLL MFC.dll DLL MFC DLL

27 MFC DLL DLL 2 MFC DLL MFC DLL MFC DLL MFC DLL MFC MFC DLL ID MFC DLL DLL MFC Visual C++ MFC DLL MFC DLL MFC DLL 8 Visual C++ project -> Settings -> General Microsoft Foundation Classes 8 / MFC DLL 5.2 MFC DLL

28 MFC MFC DLL project 9 project MFC AppWizard(dll) OK 10 9 MFC DLL 10 1 MFC DLL 2 automation Microsoft Word Microsoft Excel 3 Windows Sockets TCP/IP CWinApp InitInstance StdAfx.h include <AfxSock.h> socket InitInstance BOOL CRegularDllSocketApp::InitInstance()

29 if (!AfxSocketInit()) AfxMessageBox(IDP_SOCKETS_INIT_FAILED); return FALSE; return TRUE; 4 MFC Yes,please 10 MFC DLL 5.3 MFC DLL DLL MFC DLL 11

30 11 MFC DLL DLL MFC 11 DLL Hello MessageBox Hello,pconline MFC CWinApp // RegularDll.h : main header file for the REGULARDLL DLL #if!defined(afx_regulardll_h 3E9CB22B_588B_4388_B778_B3416ADB79B3 INCLUDED_) #define AFX_REGULARDLL_H 3E9CB22B_588B_4388_B778_B3416ADB79B3 INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef AFXWIN_H

31 #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols class CRegularDllApp : public CWinApp public: CRegularDllApp(); DECLARE_MESSAGE_MAP() ; #endif // RegularDll.cpp : Defines the initialization routines for the DLL. #include "stdafx.h" #include "RegularDll.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = FILE ;

32 #endif BEGIN_MESSAGE_MAP(CRegularDllApp, CWinApp) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CRegularDllApp construction CRegularDllApp::CRegularDllApp() ///////////////////////////////////////////////////////////////////////////// // The one and only CRegularDllApp object CRegularDllApp theapp; CWinApp CRegularDllApp theapp MFC MFC App CWinApp theapp MFC CWinApp SDK WinMain SDK WinMain CWinApp virtual BOOL InitApplication( );

33 virtual BOOL InitInstance( ); virtual BOOL Run( ); // MFC MFC DLL MFC CWinApp MFC DLL CWinApp::Run DLL DLL PreTranslateMessage MFC DLL MFC DLL InitInstance ( ) MFC MFC ON_BN_CLICKED(IDC_HELLO_BUTTON, OnHelloButton) DLL //NO_DEPENDENCIES // Microsoft Developer Studio generated include file. // Used by RegularDll.rc // #define IDD_DLL_DIALOG 1000 #define IDC_HELLO_BUTTON 1000

34 MFC DLL MFC Visual C++ MFC DLL #include "StdAfx.h" #include "DllDialog.h" extern "C" declspec(dllexport) void ShowDlg(void) CDllDialog dlldialog; dlldialog.domodal(); MFC CdllDialog MFC DLL declspec(dllexport).def MFC DLL 5.4 MFC DLL 12 MFC 5.3 MFC DLL DLL 5.3 MFC DLL

35 12 MFC DLL DLL void CRegularDllCallDlg::OnCalldllButton() typedef void (*lpfun)(void); HINSTANCE hdll; //DLL hdll = LoadLibrary("RegularDll.dll"); if (NULL==hDll) MessageBox("DLL "); lpfun addfun; // lpfun pshowdlg = (lpfun)getprocaddress(hdll,"showdlg"); if (NULL==pShowDlg)

36 MessageBox("DLL "); pshowdlg(); 4 MFC DLL EXE MFC DLL.lib.dll RegularDllCallDlg.cpp 12 #pragma comment(lib,"regulardll.lib") void ShowDlg(void); void CRegularDllCallDlg::OnCalldllButton() void CRegularDllCallDlg::OnCalldllButton() ShowDlg(); 5.5 MFC DLL DLL DLL HINSTANCE DLL EXE 0x DLL 0x DLL

37 DLL HINSTANCE DLL MFC DLL MFC DLL HINSTANCE HINSTANCE EXE DLL ID DLL DLL EXE EXE MFC DLL DLL DLL DLL MFC 12 14

38 14 EXE caption DLL EXE ID=2000 DLL EXE resource.h //DLL ID #define IDD_DLL_DIALOG 2000 //EXE ID #define IDD_EXE_DIALOG MFC DLL DLL DLL ShowDlg #include "StdAfx.h" #include "SharedDll.h" void ShowDlg(void) CDialog dlg(idd_dll_dialog); // ID 2000

39 dlg.domodal(); DLL void CSharedDllCallDlg::OnCalldllButton() ShowDlg(); DLL EXE MFC DLL MFC DLL MFC DLL EXE DLL AFX_MANAGE_STATE(AfxGetStaticModuleState()); DLL ShowDlg void ShowDlg(void) // 1: // AFX_MANAGE_STATE(AfxGetStaticModuleState()); //

40 AFX_MANAGE_STATE(AfxGetStaticModuleState()); CDialog dlg(idd_dll_dialog);// 2000 dlg.domodal(); EXE DLL DLL 13 AfxGetStaticModuleState AFX_MODULE_STATE* AFXAPI AfxGetStaticModuleState( ); AFX_MODULE_STATE pmodulestate AFX_MODULE_STATE // AFX_MODULE_STATE (global data for a module) class AFX_MODULE_STATE : public CNoTrackObject public: #ifdef _AFXDLL AFX_MODULE_STATE(BOOL bdll, WNDPROC pfnafxwndproc, DWORD dwversion); AFX_MODULE_STATE(BOOL bdll, WNDPROC pfnafxwndproc, DWORD dwversion,bool bsystem); #else

41 AFX_MODULE_STATE(BOOL bdll); #endif ~AFX_MODULE_STATE(); CWinApp* m_pcurrentwinapp; HINSTANCE m_hcurrentinstancehandle; HINSTANCE m_hcurrentresourcehandle; LPCTSTR m_lpszcurrentappname; // AFX_MODULE_STATE call pc sp AFX_MANAGE_STATE AFX_MANAGE_STATE( AFX_MODULE_STATE* pmodulestate ) pmodulestate pmodulestate AFX_MODULE_STATE DLL AfxGetResourceHandle(); AfxSetResourceHandle(HINSTANCE xxx);

42 AfxGetResourceHandle AfxSetResourceHandle DLL ShowDlg void ShowDlg(void) // 2 HINSTANCE save_hinstance = AfxGetResourceHandle(); AfxSetResourceHandle(theApp.m_hInstance); CDialog dlg(idd_dll_dialog);// 2000 dlg.domodal(); // 2 AfxSetResourceHandle(save_hInstance); AfxGetResourceHandle AfxSetResourceHandle DLL ShowDlg extern CSharedDllApp theapp; // theapp void ShowDlg(void) // 2

43 HINSTANCE save_hinstance = AfxGetResourceHandle(); AfxSetResourceHandle(theApp.m_hInstance); CDialog dlg(idd_dll_dialog);// 2000 dlg.domodal(); // 2 AfxSetResourceHandle(save_hInstance); // 2 CDialog dlg1(idd_dll_dialog); // ID 2000 dlg1.domodal(); DLL 13 EXE 14 DLL DLL void ShowDlg(void) CDialog dlg(idd_dll_dialog); // ID 2000

44 dlg.domodal(); OnCalldllButton void CSharedDllCallDlg::OnCalldllButton() // 3 // EXE HINSTANCE exe_hinstance = GetModuleHandle(NULL); // HINSTANCE exe_hinstance = AfxGetResourceHandle(); // DLL HINSTANCE dll_hinstance = GetModuleHandle("SharedDll.dll"); AfxSetResourceHandle(dll_hInstance); // ShowDlg(); // DLL AfxSetResourceHandle(exe_hInstance); // // ShowDlg ShowDlg(); // EXE Win32 GetModuleHandle DLL DLL EXE Null GetModuleHandle AfxGetResourceHandle

45 AfxSetResourceHandle DLL DLL 13 EXE 14 MFC DLL MFC DLL MFC MFC DLL MFC DLL MFC DLL MFC MFC DLL MFC DLL MFC MFC CStatic CButton Visual C++ MFC DLL MFC DLL DllMain extern "C" int APIENTRY DllMain(HINSTANCE hinstance, DWORD dwreason, LPVOID lpreserved) // Remove this if you use lpreserved UNREFERENCED_PARAMETER(lpReserved); if (dwreason == DLL_PROCESS_ATTACH) TRACE0("MFCEXPENDDLL.DLL Initializing!\n"); // Extension DLL one-time initialization if (!AfxInitExtensionModule(MfcexpenddllDLL, hinstance)) return 0; // Insert this DLL into the resource chain // NOTE: If this Extension DLL is being implicitly linked to by // an MFC Regular DLL (such as an ActiveX Control) // instead of an MFC application, then you will want to // remove this line from DllMain and put it in a separate // function exported from this Extension DLL. The Regular DLL // that uses this Extension DLL should then explicitly call that // function to initialize this Extension DLL. Otherwise, // the CDynLinkLibrary object will not be attached to the // Regular DLL's resource chain, and serious problems will // result. new CDynLinkLibrary(MfcexpenddllDLL);

46 else if (dwreason == DLL_PROCESS_DETACH) TRACE0("MFCEXPENDDLL.DLL Terminating!\n"); // Terminate the library before destructors are called AfxTermExtensionModule(MfcexpenddllDLL); return 1; // ok MFC DLL MFC DLL DLL MFC DLL 6.1 MFC DLL MFC DLL CSXButton MFC CButton CSXButton CButton MFC CSXbutton Internet MFC DLL MFC DLL DLL DLL // for data #ifndef AFX_DATA_EXPORT #define AFX_DATA_EXPORT declspec(dllexport) #endif #ifndef AFX_DATA_IMPORT #define AFX_DATA_IMPORT declspec(dllimport) #endif // for classes #ifndef AFX_CLASS_EXPORT #define AFX_CLASS_EXPORT declspec(dllexport) #endif

47 #ifndef AFX_CLASS_IMPORT #define AFX_CLASS_IMPORT declspec(dllimport) #endif // for global APIs #ifndef AFX_API_EXPORT #define AFX_API_EXPORT declspec(dllexport) #endif #ifndef AFX_API_IMPORT #define AFX_API_IMPORT declspec(dllimport) #endif #ifndef AFX_EXT_DATA #ifdef _AFXEXT #define AFX_EXT_CLASS AFX_CLASS_EXPORT #define AFX_EXT_API AFX_API_EXPORT #define AFX_EXT_DATA AFX_DATA_EXPORT #define AFX_EXT_DATADEF #else #define AFX_EXT_CLASS AFX_CLASS_IMPORT #define AFX_EXT_API AFX_API_IMPORT #define AFX_EXT_DATA AFX_DATA_IMPORT #define AFX_EXT_DATADEF #endif #endif AFX_EXT_CLASS CSXButton #ifndef _SXBUTTON_H #define _SXBUTTON_H #define SXBUTTON_CENTER -1 class AFX_EXT_CLASS CSXButton : public CButton // Construction public: CSXButton(); // Attributes private: // Positioning

48 BOOL m_buseoffset; CPoint m_pointimage; CPoint m_pointtext; int m_nimageoffsetfromborder; int m_ntextoffsetfromimage; // Image HICON m_hicon; HBITMAP m_hbitmap; HBITMAP m_hbitmapdisabled; int m_nimagewidth, m_nimageheight; // Color Tab char m_bcolortab; COLORREF m_crcolortab; // State BOOL m_bdefault; UINT m_noldaction; UINT m_noldstate; // Operations public: // Positioning int SetImageOffset( int npixels ); int SetTextOffset( int npixels ); CPoint SetImagePos( CPoint p ); CPoint SetTextPos( CPoint p ); // Image BOOL SetIcon( UINT nid, int nwidth, int nheight ); BOOL SetBitmap( UINT nid, int nwidth, int nheight ); BOOL SetMaskedBitmap( UINT nid, int nwidth, int nheight, COLORREF crtransparentmask ); BOOL HasImage() return (BOOL)( m_hicon!= 0 m_hbitmap!= 0 ); // Color Tab void SetColorTab(COLORREF crtab); // State BOOL SetDefaultButton( BOOL bstate = TRUE ); private: BOOL SetBitmapCommon( UINT nid, int nwidth, int nheight, COLORREF crtransparentmask, BOOL busemask ); void CheckPointForCentering( CPoint &p, int nwidth, int nheight );

49 void Redraw(); // Overrides // ClassWizard generated virtual function overrides //AFX_VIRTUAL(CSXButton) public: virtual void DrawItem(LPDRAWITEMSTRUCT lpdrawitemstruct); //AFX_VIRTUAL // Implementation public: virtual ~CSXButton(); // Generated message map functions protected: //AFX_MSG(CSXButton) afx_msg LRESULT OnGetText(WPARAM wparam, LPARAM lparam); //AFX_MSG DECLARE_MESSAGE_MAP() ; #endif SXBUTTON.CPP mfcexpenddll.lib mfcexpenddll.dll Visual Studio Depends.dll ( )

50 declspec(dllexport).lib.map.map 16 DLL settings Link MAP Generate mapfile.map mfcexpenddll.map 15 symbol f i SXBUTTON.OBJ 0001:000003d0??0CSXButton@@QAE@XZ d0 f SXBUTTON.OBJ 0001: ??_GCSXButton@@UAEPAXI@Z f i SXBUTTON.OBJ 0001: ??_ECSXButton@@UAEPAXI@Z f i SXBUTTON.OBJ 0001: ??1CSXButton@@UAE@XZ f SXBUTTON.OBJ 0001: ?_GetBaseMessageMap@CSXButton@@KGPBUAFX_MSGMAP@@XZ f SXBUTTON.OBJ 0001: ?GetMessageMap@CSXButton@@MBEPBUAFX_MSGMAP@@XZ f SXBUTTON.OBJ 0001: ?Redraw@CSXButton@@AAEXXZ f i SXBUTTON.OBJ 0001:000007d0?SetIcon@CSXButton@@QAEHIHH@Z d0 f SXBUTTON.OBJ..//

51 16.map ( ) MFC DLL.lib 6.2 MFC DLL DLL dllcall MFC EXE SXBUTTON1 SXBUTTON2 Owner draw Owner draw ICON IDI_MSN_ICON MSN IDI_REFBAR_ICON Windows calldlldlg.h #include "..\..\mfcexpenddll\sxbutton.h" // dll #pragma comment(lib,"mfcexpenddll.lib") // dll ///////////////////////////////////////////////////////////////////////////// // CCalldllDlg dialog class CCalldllDlg : public CDialog // Construction public: CCalldllDlg(CWnd* pparent = NULL); // standard constructor // Dialog Data //AFX_DATA(CCalldllDlg) enum IDD = IDD_CALLDLL_DIALOG ;

52 // CSXButton m_button1; CSXButton m_button2; calldlldlg.cpp m_button1 m_button2 void CCalldllDlg::DoDataExchange(CDataExchange* pdx) CDialog::DoDataExchange(pDX); //AFX_DATA_MAP(CCalldllDlg) DDX_Control(pDX, IDC_BUTTON2, m_button2); DDX_Control(pDX, IDC_BUTTON1, m_button1); //AFX_DATA_MAP BOOL CCalldllDlg::OnInitDialog() ICON BOOL CCalldllDlg::OnInitDialog() CDialog::OnInitDialog(); // Add "About..." menu item to system menu. // IDM_ABOUTBOX must be in the system command range. ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX); ASSERT(IDM_ABOUTBOX < 0xF000); CMenu* psysmenu = GetSystemMenu(FALSE); if (psysmenu!= NULL) CString straboutmenu; straboutmenu.loadstring(ids_aboutbox); if (!straboutmenu.isempty()) psysmenu->appendmenu(mf_separator); psysmenu->appendmenu(mf_string, IDM_ABOUTBOX, straboutmenu);

53 // Set the icon for this dialog. The framework does this automatically // when the application's main window is not a dialog SetIcon(m_hIcon, TRUE); // Set big icon SetIcon(m_hIcon, FALSE); // Set small icon // TODO: Add extra initialization here m_button1.seticon(idi_msn_icon,16,16); m_button2.seticon(idi_refbar_icon,16,16); return TRUE; // return TRUE unless you set the focus to a control 18 MFC DLL 18 DLL void CCalldllDlg::DoDataExchange(CDataExchange* pdx) DDX_Control(pDX, IDC_BUTTON2, m_button2); DDX_Control(pDX, IDC_BUTTON1, m_button1); BOOL CCalldllDlg::OnInitDialog() m_button1 m_button2 IDC_BUTTON1 IDC_BUTTON2 m_button1.subclassdlgitem(idc_button1, this); m_button2.subclassdlgitem(idc_button2, this);

54 DDX_Control SubclassDlgItem 6.3 MFC DLL MFC DLL MFC DLL MFC MFC DLL MFC DLL

bingdian001.com

bingdian001.com 1. DLL(Dynamic Linkable Library) DLL ± lib EXE DLL DLL EXE EXE ± EXE DLL 1 DLL DLL DLL Windows DLL Windows API Visual Basic Visual C++ Delphi 2 Windows system32 kernel32.dll user32.dll gdi32.dll windows

More information

BOOL EnumWindows(WNDENUMPROC lparam); lpenumfunc, LPARAM (Native Interface) PowerBuilder PowerBuilder PBNI 2

BOOL EnumWindows(WNDENUMPROC lparam); lpenumfunc, LPARAM (Native Interface) PowerBuilder PowerBuilder PBNI 2 PowerBuilder 9 PowerBuilder Native Interface(PBNI) PowerBuilder 9 PowerBuilder C++ Java PowerBuilder 9 PBNI PowerBuilder Java C++ PowerBuilder NVO / PowerBuilder C/C++ PowerBuilder 9.0 PowerBuilder Native

More information

ebook50-15

ebook50-15 15 82 C / C + + Developer Studio M F C C C + + 83 C / C + + M F C D L L D L L 84 M F C MFC DLL M F C 85 MFC DLL 15.1 82 C/C++ C C + + D L L M F C M F C 84 Developer Studio S t u d i o 292 C _ c p l u s

More information

FY.DOC

FY.DOC 高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主

More information

ebook50-14

ebook50-14 14 M F C 74 75 76 77 M F C 78 M F C 79 M F C 80 D e l e t e Delete ( ) 81 M F C 14.1 74 14-1 Cut Paste C E d i t 14-1 1. C l a s s Wi z a r d C E d i t C l a s s Wi z a r d W M _ R B U T TO N D O W N 2.

More information

概述

概述 OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3

More information

INTRODUCTION TO COM.DOC

INTRODUCTION TO COM.DOC How About COM & ActiveX Control With Visual C++ 6.0 Author: Curtis CHOU mahler@ms16.hinet.net This document can be freely release and distribute without modify. ACTIVEX CONTROLS... 3 ACTIVEX... 3 MFC ACTIVEX

More information

Microsoft Word - CIN-DLL.doc

Microsoft Word - CIN-DLL.doc 6.3. 调 用 动 态 链 接 库 (DLL) 相 对 于 CIN 来 讲,NI 更 推 荐 用 户 使 用 DLL 来 共 享 基 于 文 本 编 程 语 言 开 发 的 代 码 除 了 共 享 或 重 复 利 用 代 码, 开 发 人 员 还 能 利 用 DLL 封 装 软 件 的 功 能 模 块, 以 便 这 些 模 块 能 被 不 同 开 发 工 具 利 用 在 LabVIEW 中 使 用

More information

Windows RTEMS 1 Danilliu MMI TCP/IP QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos eco

Windows RTEMS 1 Danilliu MMI TCP/IP QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos eco Windows RTEMS 1 Danilliu MMI TCP/IP 80486 QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos ecos Email www.rtems.com RTEMS ecos RTEMS RTEMS Windows

More information

int *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++;

int *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; Memory & Pointer trio@seu.edu.cn 2.1 2.1.1 1 int *p int a 0x00C7 0x00C7 0x00C7 2.1.2 2 int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; 2.1.3 1. 2. 3. 3 int A,

More information

ebook50-11

ebook50-11 11 Wi n d o w s C A D 53 M F C 54 55 56 57 58 M F C 11.1 53 11-1 11-1 MFC M F C C D C Wi n d o w s Wi n d o w s 4 11 199 1. 1) W M _ PA I N T p W n d C W n d C D C * p D C = p W n d GetDC( ); 2) p W n

More information

新版 明解C++入門編

新版 明解C++入門編 511!... 43, 85!=... 42 "... 118 " "... 337 " "... 8, 290 #... 71 #... 413 #define... 128, 236, 413 #endif... 412 #ifndef... 412 #if... 412 #include... 6, 337 #undef... 413 %... 23, 27 %=... 97 &... 243,

More information

概述

概述 OPC Version 1.8 build 0925 KOCRDK Knight OPC Client Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOC_Init...5 2.2.2 KOC_Uninit...5 2.3...5

More information

1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10

1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10 Java V1.0.1 2007 4 10 1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10 6.2.10 6.3..10 6.4 11 7.12 7.1

More information

untitled

untitled 1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override

More information

提问袁小兵:

提问袁小兵: C++ 面 试 试 题 汇 总 柯 贤 富 管 理 软 件 需 求 分 析 篇 1. STL 类 模 板 标 准 库 中 容 器 和 算 法 这 部 分 一 般 称 为 标 准 模 板 库 2. 为 什 么 定 义 虚 的 析 构 函 数? 避 免 内 存 问 题, 当 你 可 能 通 过 基 类 指 针 删 除 派 生 类 对 象 时 必 须 保 证 基 类 析 构 函 数 为 虚 函 数 3.

More information

untitled

untitled MPICH anzhulin@sohu.com 1 MPICH for Microsoft Windows 1.1 MPICH for Microsoft Windows Windows NT4/2000/XP Professional Server Windows 95/98 TCP/IP MPICH MS VC++ 6.x MS VC++.NET Compaq Visual Fortran 6.x

More information

ebook140-8

ebook140-8 8 Microsoft VPN Windows NT 4 V P N Windows 98 Client 7 Vintage Air V P N 7 Wi n d o w s NT V P N 7 VPN ( ) 7 Novell NetWare VPN 8.1 PPTP NT4 VPN Q 154091 M i c r o s o f t Windows NT RAS [ ] Windows NT4

More information

epub83-1

epub83-1 C++Builder 1 C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r 1.1 1.1.1 1-1 1. 1-1 1 2. 1-1 2 A c c e s s P a r a d o x Visual FoxPro 3. / C / S 2 C + + B u i l d e r / C

More information

用户大会 论文集2.2.doc

用户大会 论文集2.2.doc MagGis MapGis GIS MagGis API DLL MapGis VC++ VB BC++ Delphi., Windows API MapGis VC++V Delphi Delphi Delphi MapGis Delphi Delphi Windows Delphi Delphi MapGis MapGis DLL API MapGis function _InitWorkArea(HINST:Integer):Integer;

More information

c_cpp

c_cpp C C++ C C++ C++ (object oriented) C C++.cpp C C++ C C++ : for (int i=0;i

More information

CC213

CC213 : (Ken-Yi Lee), E-mail: feis.tw@gmail.com 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,

More information

Microsoft Word - 11.doc

Microsoft Word - 11.doc 除 錯 技 巧 您 將 於 本 章 學 到 以 下 各 項 : 如 何 在 Visual C++ 2010 的 除 錯 工 具 控 制 下 執 行 程 式? 如 何 逐 步 地 執 行 程 式 的 敘 述? 如 何 監 看 或 改 變 程 式 中 的 變 數 值? 如 何 監 看 程 式 中 計 算 式 的 值? 何 謂 Call Stack? 何 謂 診 斷 器 (assertion)? 如 何

More information

序 软 件 工 程 思 想 林 锐 序 软 件 工 程 思 想 讲 述 软 件 开 发 和 做 程 序 员 的 道 理, 视 野 独 特, 构 思 新 颖, 内 容 风 趣, 不 落 窠 臼, 令 人 耳 目 一 新 堪 称 难 得, 以 至 回 味 无 穷 作 者 从 事 了 八 年 的 软 件 开 发 工 作, 在 他 的 博 士 学 位 论 文 完 成 之 际 写 下 了 这 本 心 之 所 感

More information

VB程序设计教程

VB程序设计教程 高 等 学 校 教 材 Visual Basic 程 序 设 计 教 程 魏 东 平 郑 立 垠 梁 玉 环 石 油 大 学 出 版 社 内 容 提 要 本 书 是 按 高 等 学 校 计 算 机 程 序 设 计 课 程 教 学 大 纲 编 写 的 大 学 教 材, 主 要 包 括 VB 基 础 知 识 常 用 程 序 结 构 和 算 法 Windows 用 户 界 面 设 计 基 础 文 件 处

More information

ebook140-9

ebook140-9 9 VPN VPN Novell BorderManager Windows NT PPTP V P N L A V P N V N P I n t e r n e t V P N 9.1 V P N Windows 98 Windows PPTP VPN Novell BorderManager T M I P s e c Wi n d o w s I n t e r n e t I S P I

More information

CHAPTER 1

CHAPTER 1 CHAPTER 1 1-1 System Development Life Cycle; SDLC SDLC Waterfall Model Shelly 1995 1. Preliminary Investigation 2. System Analysis 3. System Design 4. System Development 5. System Implementation and Evaluation

More information

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F 1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET 2.0 2.0.NET Framework.NET Framework 2.0 ( 3).NET Framework 2.0.NET Framework ( System ) o o o o o o Boxing UnBoxing() o

More information

C 1

C 1 C homepage: xpzhangme 2018 5 30 C 1 C min(x, y) double C // min c # include # include double min ( double x, double y); int main ( int argc, char * argv []) { double x, y; if( argc!=

More information

untitled

untitled COM ActiveX Control 年 ACTIVEX CONTROLS 念... 3 ACTIVEX... 3 MFC ACTIVEX CONTROLWIZARD... 3 MFC ACTIVEX CONTROLS WIZARD... 4 MFC... 4... 4 ACTIVEX... 4 ONDRAW 行... 4 ONDRAW() 數... 5 ACTIVEX... 5 (STOCK PROPERTIES)...

More information

新・解きながら学ぶJava

新・解きながら学ぶJava 481! 41, 74!= 40, 270 " 4 % 23, 25 %% 121 %c 425 %d 121 %o 121 %x 121 & 199 && 48 ' 81, 425 ( ) 14, 17 ( ) 128 ( ) 183 * 23 */ 3, 390 ++ 79 ++ 80 += 93 + 22 + 23 + 279 + 14 + 124 + 7, 148, 16 -- 79 --

More information

How to Debug Tuxedo Server printf( Input data is: %s, inputstr); fprintf(stdout, Input data is %s, inputstr); fprintf(stderr, Input data is %s, inputstr); printf( Return data is: %s, outputstr); tpreturn(tpsuccess,

More information

mvc

mvc Build an application Tutor : Michael Pan Application Source codes - - Frameworks Xib files - - Resources - ( ) info.plist - UIKit Framework UIApplication Event status bar, icon... delegation [UIApplication

More information

新版 明解C言語入門編

新版 明解C言語入門編 328, 4, 110, 189, 103, 11... 318. 274 6 ; 10 ; 5? 48 & & 228! 61!= 42 ^= 66 _ 82 /= 66 /* 3 / 19 ~ 164 OR 53 OR 164 = 66 ( ) 115 ( ) 31 ^ OR 164 [] 89, 241 [] 324 + + 4, 19, 241 + + 22 ++ 67 ++ 73 += 66

More information

nooog

nooog C : : : , C C,,, C, C,, C ( ), ( ) C,,, ;,, ; C,,, ;, ;, ;, ;,,,, ;,,, ; : 1 9, 2 3, 4, 5, 6 10 11, 7 8, 12 13,,,,, 2008 1 1 (1 ) 1.1 (1 ) 1.1.1 ( ) 1.1.2 ( ) 1.1.3 ( ) 1.1.4 ( ) 1.1.5 ( ) 1.2 ( ) 1.2.1

More information

_汪_文前新ok[3.1].doc

_汪_文前新ok[3.1].doc 普 通 高 校 本 科 计 算 机 专 业 特 色 教 材 精 选 四 川 大 学 计 算 机 学 院 国 家 示 范 性 软 件 学 院 精 品 课 程 基 金 青 年 基 金 资 助 项 目 C 语 言 程 序 设 计 (C99 版 ) 陈 良 银 游 洪 跃 李 旭 伟 主 编 李 志 蜀 唐 宁 九 李 涛 主 审 清 华 大 学 出 版 社 北 京 i 内 容 简 介 本 教 材 面 向

More information

Microsoft PowerPoint - ch6 [相容模式]

Microsoft PowerPoint - ch6 [相容模式] UiBinder wzyang@asia.edu.tw UiBinder Java GWT UiBinder XML UI i18n (widget) 1 2 UiBinder HelloWidget.ui.xml: UI HelloWidgetBinder HelloWidget.java XML UI Owner class ( Composite ) UI XML UiBinder: Owner

More information

新・解きながら学ぶC言語

新・解きながら学ぶC言語 330!... 67!=... 42 "... 215 " "... 6, 77, 222 #define... 114, 194 #include... 145 %... 21 %... 21 %%... 21 %f... 26 %ld... 162 %lf... 26 %lu... 162 %o... 180 %p... 248 %s... 223, 224 %u... 162 %x... 180

More information

ebook51-14

ebook51-14 14 Wi n d o w s M F C 53 54 55 56 ( ) ( Wo r k e r T h r e a d ) 57 ( ) ( U s e r Interface Thread) 58 59 14.1 53 1. 2. C l a s s Wi z a r d O n I d l e () 3. Class Wi z a r d O n I d l e () O n I d l

More information

02

02 Thinking in C++: Volume One: Introduction to Standard C++, Second Edition & Volume Two: Practical Programming C++ C C++ C++ 3 3 C C class C++ C++ C++ C++ string vector 2.1 interpreter compiler 2.1.1 BASIC

More information

(\244j\257d\276\307\274\351_201508021-C.indd_70%.pdf)

(\244j\257d\276\307\274\351_201508021-C.indd_70%.pdf) 1847-1852 1872 20 1 1896 8000 20 1896 1950 1 1896 1896 13 1900 1900 3 20 2 4 1910 1950 3 1911 1 2 3 4 1927 4 20 300 6 1906 1930 7 1911 5 1919 8 1914 9 1920 10 11 1902 200 6 12 1930 7 " # #! $! 14 15! "!

More information

C/C++程序设计 - 字符串与格式化输入/输出

C/C++程序设计 - 字符串与格式化输入/输出 C/C++ / Table of contents 1. 2. 3. 4. 1 i # include # include // density of human body : 1. 04 e3 kg / m ^3 # define DENSITY 1. 04 e3 int main ( void ) { float weight, volume ; int

More information

MFC 2/e PDF GBK mirror - anyway solution MFC 1/e MFC 2/e

MFC 2/e PDF     GBK mirror - anyway solution MFC 1/e MFC 2/e 2/e 1998/04 MFC 1/e Windows MFC MFC 2/e 1998/05 1998 UNALIS 3/e 2/e 2/e 3/e 3/e MFC 2/e MFC 3/e MFC MFC 2/e VC5+MFC42 VC6+MFC421 MFC 2/e 1 MFC 2/e PDF http://www.jjhou.com http://expert.csdn.net/jjhou

More information

Microsoft Word - 01.DOC

Microsoft Word - 01.DOC 第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的

More information

( CIP) /. :, ( ) ISBN TP CIP ( 2005) : : : : * : : 174 ( A ) : : ( 023) : ( 023)

( CIP) /. :, ( ) ISBN TP CIP ( 2005) : : : : * : : 174 ( A ) : : ( 023) : ( 023) ( CIP) /. :, 2005. 2 ( ) ISBN 7-5624-3339-9.......... TP311. 1 CIP ( 2005) 011794 : : : : * : : 174 ( A ) :400030 : ( 023) 65102378 65105781 : ( 023) 65103686 65105565 : http: / /www. cqup. com. cn : fxk@cqup.

More information

CHAPTER VC#

CHAPTER VC# 1. 2. 3. 4. CHAPTER 2-1 2-2 2-3 2-4 VC# 2-5 2-6 2-7 2-8 Visual C# 2008 2-1 Visual C# 0~100 (-32768~+32767) 2 4 VC# (Overflow) 2-1 2-2 2-1 2-1.1 2-1 1 10 10!(1 10) 2-3 Visual C# 2008 10! 32767 short( )

More information

untitled

untitled A, 3+A printf( ABCDEF ) 3+ printf( ABCDEF ) 2.1 C++ main main main) * ( ) ( ) [ ].* ->* ()[] [][] ** *& char (f)(int); ( ) (f) (f) f (int) f int char f char f(int) (f) char (*f)(int); (*f) (int) (

More information

C/C++ - 字符输入输出和字符确认

C/C++ - 字符输入输出和字符确认 C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,

More information

全国计算机技术与软件专业技术资格(水平)考试

全国计算机技术与软件专业技术资格(水平)考试 全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2008 年 上 半 年 程 序 员 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 ) 试 题 一 ( 共 15 分 ) 阅 读 以 下 说 明 和 流 程 图, 填 补 流 程 图 中 的 空 缺 (1)~(9), 将 解 答 填 入 答 题 纸 的 对 应 栏 内 [ 说 明

More information

Microsoft Word - ch04三校.doc

Microsoft Word - ch04三校.doc 4-1 4-1-1 (Object) (State) (Behavior) ( ) ( ) ( method) ( properties) ( functions) 4-2 4-1-2 (Message) ( ) ( ) ( ) A B A ( ) ( ) ( YourCar) ( changegear) ( lowergear) 4-1-3 (Class) (Blueprint) 4-3 changegear

More information

PIC_SERVER (11) SMTP ( ) ( ) PIC_SERVER (10) SMTP PIC_SERVER (event driven) PIC_SERVER SMTP 1. E-

PIC_SERVER (11) SMTP  ( ) ( ) PIC_SERVER (10) SMTP  PIC_SERVER (event driven)  PIC_SERVER SMTP  1.  E- (2005-02-01) (2005-04-28) PIC_SERVER (10) SMTP E-mail PIC_SERVER (event driven) E-mail PIC_SERVER SMTP E-mail 1. E-mail E-mail 1 (1) (2) (3) (4) 1 1. 2 E-mail A E-mail B E-mail SMTP(Simple Mail Transfer

More information

云 浮 市 总 工 会 学 习 贯 彻 市 委 五 届 九 次 全 会 精 神 全 省 工 会 第 二 季 度 暨 上 半 年 劳 资 纠 纷 研 判 会 召 开 河 源 市 总 工 会 召 开 劳 资 纠 纷 研 判 会 议 湛 江 市 总 工 会 召 开 上 半 年 劳 资 纠 纷 研 判 会

云 浮 市 总 工 会 学 习 贯 彻 市 委 五 届 九 次 全 会 精 神 全 省 工 会 第 二 季 度 暨 上 半 年 劳 资 纠 纷 研 判 会 召 开 河 源 市 总 工 会 召 开 劳 资 纠 纷 研 判 会 议 湛 江 市 总 工 会 召 开 上 半 年 劳 资 纠 纷 研 判 会 目 录 工 作 聚 焦 全 省 工 会 主 席 会 议 全 省 工 会 主 席 会 议 召 开 推 动 工 会 工 作 再 上 新 台 阶 省 总 工 会 召 开 部 分 省 级 产 业 工 会 主 席 会 议 广 州 市 总 工 会 召 开 全 市 工 会 主 席 会 议 肇 庆 市 总 工 会 召 开 全 市 工 会 主 席 会 议 云 浮 市 总 工 会 召 开 全 市 工 会 主 席 会 议

More information

新・明解C言語入門編『索引』

新・明解C言語入門編『索引』 !... 75!=... 48 "... 234 " "... 9, 84, 240 #define... 118, 213 #include... 148 %... 23 %... 23, 24 %%... 23 %d... 4 %f... 29 %ld... 177 %lf... 31 %lu... 177 %o... 196 %p... 262 %s... 242, 244 %u... 177

More information

Microsoft Word - 第3章.doc

Microsoft Word - 第3章.doc Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck

More information

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.06.doc

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.06.doc 2 5 8 11 0 13 1. 13 2. 15 3. 18 1 23 1. 23 2. 26 3. 28 2 36 1. 36 2. 39 3. 42 4. 44 5. 49 6. 51 3 57 1. 57 2. 60 3. 64 4. 66 5. 70 6. 75 7. 83 8. 85 9. 88 10. 98 11. 103 12. 108 13. 112 4 115 1. 115 2.

More information

Microsoft PowerPoint - L17_Inheritance_v4.pptx

Microsoft PowerPoint - L17_Inheritance_v4.pptx C++ Programming Lecture 17 Wei Liu ( 刘 威 ) Dept. of Electronics and Information Eng. Huazhong University of Science and Technology May. 2015 Lecture 17 Chapter 20. Object-Oriented Programming: Inheritance

More information

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc 2 5 8 11 0 1. 13 2. 15 3. 18 1 1. 22 2. 25 3. 27 2 1. 35 2. 38 3. 41 4. 43 5. 48 6. 50 3 1. 56 2. 59 3. 63 4. 65 5. 69 13 22 35 56 6. 74 7. 82 8. 84 9. 87 10. 97 11. 102 12. 107 13. 111 4 114 1. 114 2.

More information

附录J:Eclipse教程

附录J:Eclipse教程 附 录 J:Eclipse 教 程 By Y.Daniel Liang 该 帮 助 文 档 包 括 以 下 内 容 : Eclipse 入 门 选 择 透 视 图 创 建 项 目 创 建 Java 程 序 编 译 和 运 行 Java 程 序 从 命 令 行 运 行 Java Application 在 Eclipse 中 调 试 提 示 : 在 学 习 完 第 一 章 后 使 用 本 教 程 第

More information

Microsoft PowerPoint - Introduction to Windows Programming and MFC

Microsoft PowerPoint - Introduction to Windows Programming and MFC Introduction to Windows Programming and MFC 2006-10 几个重要的概念 Windows 编程基础与消息机制 MFC 框架 重要概念 API SDK DLL and Lib MFC API Application Programming Interface. 其实就是操作系统留给应用程序的一个调用接口, 应用程序通过调用操作系统的 API 而使操作系统去执行应用程序的命令

More information

C/C++ - 文件IO

C/C++ - 文件IO C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;

More information

Microsoft PowerPoint - ds-1.ppt [兼容模式]

Microsoft PowerPoint - ds-1.ppt [兼容模式] http://jwc..edu.cn/jxgl/ HomePage/Default.asp 2 说 明 总 学 时 : 72( 学 时 )= 56( 课 时 )+ 16( 实 验 ) 行 课 时 间 : 第 1 ~14 周 周 学 时 : 平 均 每 周 4 学 时 上 机 安 排 待 定 考 试 时 间 : 课 程 束 第 8 11 12 章 的 内 容 为 自 学 内 容 ; 目 录 中 标 有

More information

untitled

untitled MODBUS 1 MODBUS...1 1...4 1.1...4 1.2...4 1.3...4 1.4... 2...5 2.1...5 2.2...5 3...6 3.1 OPENSERIAL...6 3.2 CLOSESERIAL...8 3.3 RDMULTIBIT...8 3.4 RDMULTIWORD...9 3.5 WRTONEBIT...11 3.6 WRTONEWORD...12

More information

untitled

untitled 1 Outline 料 類 說 Tang, Shih-Hsuan 2006/07/26 ~ 2006/09/02 六 PM 7:00 ~ 9:30 聯 ives.net@gmail.com www.csie.ntu.edu.tw/~r93057/aspnet134 度 C# 力 度 C# Web SQL 料 DataGrid DataList 參 ASP.NET 1.0 C# 例 ASP.NET 立

More information

Strings

Strings Inheritance Cheng-Chin Chiang Relationships among Classes A 類 別 使 用 B 類 別 學 生 使 用 手 機 傳 遞 訊 息 公 司 使 用 金 庫 儲 存 重 要 文 件 人 類 使 用 交 通 工 具 旅 行 A 類 別 中 有 B 類 別 汽 車 有 輪 子 三 角 形 有 三 個 頂 點 電 腦 內 有 中 央 處 理 單 元 A

More information

华恒家庭网关方案

华恒家庭网关方案 LINUX V1.5 1 2 1 2 LINUX WINDOWS PC VC LINUX WINDOWS LINUX 90% GUI LINUX C 3 REDHAT 9 LINUX PC TFTP/NFS http://www.hhcn.com/chinese/embedlinux-res.html minicom NFS mount C HHARM9-EDU 1 LINUX HHARM9-EDU

More information

提纲 1 2 OS Examples for 3

提纲 1 2 OS Examples for 3 第 4 章 Threads2( 线程 2) 中国科学技术大学计算机学院 October 28, 2009 提纲 1 2 OS Examples for 3 Outline 1 2 OS Examples for 3 Windows XP Threads I An Windows XP application runs as a seperate process, and each process may

More information

TwinCAT 1. TwinCAT TwinCAT PLC PLC IEC TwinCAT TwinCAT Masc

TwinCAT 1. TwinCAT TwinCAT PLC PLC IEC TwinCAT TwinCAT Masc TwinCAT 2001.12.11 TwinCAT 1. TwinCAT... 3 2.... 4... 4...11 3. TwinCAT PLC... 13... 13 PLC IEC 61131-3... 14 4. TwinCAT... 17... 17 5. TwinCAT... 18... 18 6.... 19 Maschine.pro... 19... 27 7.... 31...

More information

高 职 计 算 机 类 优 秀 教 材 书 目 * 序 号 书 号 (ISBN) 书 名 作 者 定 价 出 版 / 印 刷 日 期 ** 配 套 资 源 页 码 计 算 机 基 础 课 1 978-7-111-30658-0 计 算 机 应 用 基 础 刘 升 贵 29.00 2012 年 8 月

高 职 计 算 机 类 优 秀 教 材 书 目 * 序 号 书 号 (ISBN) 书 名 作 者 定 价 出 版 / 印 刷 日 期 ** 配 套 资 源 页 码 计 算 机 基 础 课 1 978-7-111-30658-0 计 算 机 应 用 基 础 刘 升 贵 29.00 2012 年 8 月 高 职 计 算 机 类 优 秀 教 材 书 目 * 序 号 书 号 (ISBN) 书 名 作 者 定 价 出 版 / 印 刷 日 期 ** 配 套 资 源 页 码 计 算 机 基 础 课 1 978-7-111-30658-0 计 算 机 应 用 基 础 刘 升 贵 29.00 2012 年 8 月 电 子 教 案 P1 2 978-7-111-27081-2 计 算 机 应 用 基 础 ( 第 2

More information

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File 51 C 51 51 C C C C C C * 2003-3-30 pnzwzw@163.com C C C C KEIL uvision2 MCS51 PLM C VC++ 51 KEIL51 KEIL51 KEIL51 KEIL 2K DEMO C KEIL KEIL51 P 1 1 1 1-1 - 1 Project New Project 1 2 Windows 1 3 N C test

More information

bingdian001.com

bingdian001.com TSM12M TSM12 STM8L152C6, STM8L152R8 MSP430F5325 whym1987@126.com! /******************************************************************************* * : TSM12.c * : * : 2013/10/21 * : TSM12, STM8L f(sysclk)

More information

CC213

CC213 : (Ken-Yi Lee), E-mail: feis.tw@gmail.com 9 [P.11] : Dev C++ [P.12] : http://c.feis.tw [P.13] [P.14] [P.15] [P.17] [P.23] Dev C++ [P.24] [P.27] [P.34] C / C++ [P.35] 10 C / C++ C C++ C C++ C++ C ( ) C++

More information

1 LINUX IDE Emacs gcc gdb Emacs + gcc + gdb IDE Emacs IDE C Emacs Emacs IDE ICE Integrated Computing Environment Emacs Unix Linux Emacs Emacs Emacs Un

1 LINUX IDE Emacs gcc gdb Emacs + gcc + gdb IDE Emacs IDE C Emacs Emacs IDE ICE Integrated Computing Environment Emacs Unix Linux Emacs Emacs Emacs Un Linux C July 27, 2016 Contents 1 Linux IDE 1 2 GCC 3 2.1 hello.c hello.exe........................... 5 2.2............................... 9 2.2.1 -Wall................................ 9 2.2.2 -E..................................

More information

2.2016 年 中 央 国 家 机 关 政 府 采 购 中 心 网 上 竞 价 品 目 表 中 央 国 家 机 关 政 府 采 购 中 心 2016 年 7 月 21 日 - 2 -

2.2016 年 中 央 国 家 机 关 政 府 采 购 中 心 网 上 竞 价 品 目 表 中 央 国 家 机 关 政 府 采 购 中 心 2016 年 7 月 21 日 - 2 - 国 机 采 字 2016 13 号 关 于 印 发 中 央 国 家 机 关 政 府 采 购 中 心 网 上 竞 价 管 理 办 法 的 通 知 为 进 一 步 规 范 网 上 竞 价 操 作 行 为, 提 高 采 购 质 量 和 效 率, 强 化 合 同 和 履 约 管 理, 依 据 中 华 人 民 共 和 国 政 府 采 购 法 ( 以 下 简 称 政 府 采 购 法 ) 中 华 人 民 共 和

More information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

24 第 3 章 创 建 Access 数 据 库 和 表 3.1 创 建 Access 数 据 库 Access 2003 中 的 数 据 库 属 于 关 系 型 数 据 库, 以.mdb 为 文 件 的 后 缀, 建 立 一 个 数 据 库 的 同 时, 就 创 建 了 数 据 库 中 的 对

24 第 3 章 创 建 Access 数 据 库 和 表 3.1 创 建 Access 数 据 库 Access 2003 中 的 数 据 库 属 于 关 系 型 数 据 库, 以.mdb 为 文 件 的 后 缀, 建 立 一 个 数 据 库 的 同 时, 就 创 建 了 数 据 库 中 的 对 第 3 章 创 建 Access 数 据 库 和 表 在 Access 中, 数 据 库 是 一 个 存 储 数 据 库 应 用 系 统 中 各 对 象 的 容 器,Access 可 以 通 过 一 个 数 据 库 文 件 来 管 理 所 有 的 数 据 库 资 源 Access 2003 数 据 库 是 所 有 表 查 询 窗 体 报 表 宏 模 块 和 页 等 对 象 的 集 合 其 中, 表

More information

1. 软 件 核 武 器 CTreeNode 基 本 原 理 以 下 详 细 介 绍 这 一 技 术 的 基 本 原 理 -CTreeNode 这 是 一 种 数 据 结 构, 类 似 于 CObject 存 在 于 内 存 中 1. 能 够 以 树 形 的 方 式 嵌 套 存 贮 非 常 复 杂

1. 软 件 核 武 器 CTreeNode 基 本 原 理 以 下 详 细 介 绍 这 一 技 术 的 基 本 原 理 -CTreeNode 这 是 一 种 数 据 结 构, 类 似 于 CObject 存 在 于 内 存 中 1. 能 够 以 树 形 的 方 式 嵌 套 存 贮 非 常 复 杂 目 录 1. 软 件 核 武 器 CTreeNode 基 本 原 理... 2 2. 软 件 核 武 器 CTreeNode 的 重 要 意 义... 3 3. CTreeNode 1 个 月 内 能 实 现 的 应 用 场 景... 4 4. 常 见 质 疑 :... 4 1) 质 疑 1- 相 对 Socket 有 何 优 势... 4 2) 质 疑 2- 相 对 XML_Thrift,CTreeNode

More information

WWW PHP Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2

WWW PHP Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2 WWW PHP 2003 1 Comments Literals Identifiers Keywords Variables Constants Data Types Operators & Expressions 2 Comments PHP Shell Style: # C++ Style: // C Style: /* */ $value = $p * exp($r * $t); # $value

More information

Microsoft Word - 新建 Microsoft Word 文档

Microsoft Word - 新建 Microsoft Word 文档 1 API 描述 在 WIN32 API 中, 串口使用文件方式进行访问, 其操作的 API 基本上与文件操作的 API 一致 打开串口 Win32 中用于打开串口的 API 函数为 CreateFile, 其原型为 : HANDLE CreateFile ( LPCTSTR lpfilename, // 将要打开的串口逻辑名, 如 COM1 或 COM2 DWORD dwaccess, // 指定串口访问的类型,

More information

蒙 恬 科 技 軟 件 用 戶 授 權 協 議 本 許 可 協 議 為 蒙 恬 科 技 股 份 有 限 公 司 ( 以 下 簡 稱 蒙 恬 公 司 ) 授 予 您 合 法 使 用 本 軟 件 程 式 ( 本 軟 件 ) 之 協 議 書, 如 果 您 不 同 意 此 協 議 中 的 任 何 條 款,

蒙 恬 科 技 軟 件 用 戶 授 權 協 議 本 許 可 協 議 為 蒙 恬 科 技 股 份 有 限 公 司 ( 以 下 簡 稱 蒙 恬 公 司 ) 授 予 您 合 法 使 用 本 軟 件 程 式 ( 本 軟 件 ) 之 協 議 書, 如 果 您 不 同 意 此 協 議 中 的 任 何 條 款, 小 蒙 恬 用 戶 手 冊 版 本 :8.6 出 版 日 期 :2015 年 10 月 蒙 恬 科 技 軟 件 用 戶 授 權 協 議 本 許 可 協 議 為 蒙 恬 科 技 股 份 有 限 公 司 ( 以 下 簡 稱 蒙 恬 公 司 ) 授 予 您 合 法 使 用 本 軟 件 程 式 ( 本 軟 件 ) 之 協 議 書, 如 果 您 不 同 意 此 協 議 中 的 任 何 條 款, 請 不 要 安

More information

The golden pins of the PCI card can be oxidized after months or years

The golden pins of the PCI card can be oxidized after months or years Q. 如何在 LabWindows/CVI 編譯 DAQ Card 程式? A: 請參考至下列步驟 : 步驟 1: 安裝驅動程式 1. 安裝 UniDAQ 驅動程式 UniDAQ 驅動程式下載位置 : CD:\NAPDOS\PCI\UniDAQ\DLL\Driver\ ftp://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/unidaq/dll/driver/

More information



 辽 宁 时 代 万 恒 控 股 集 团 有 限 公 司 大 事 记 (2009 年 ) 集 团 办 公 室 编 辑 1 一 2009 年 组 织 沿 革 ( 一 ) 集 团 总 部 组 织 机 构 ( 部 门 设 置 ) 图 示 辽 宁 时 代 万 恒 控 股 集 团 有 限 公 司 监 事 会 董 事 会 党 委 董 事 会 秘 书 经 理 层 工 会 纪 委 信 办 企 审 财 国 党 监 息

More information

从 因 人 设 事 谈 起 一 部 文 学 作 品 ( 尤 其 是 长 篇 小 说 ) 的 结 构 至 关 重 要, 因 为 它 是 文 本 整 体 的 组 织 方 式 和 内 部 构 造, 既 是 形 式 又 是 内 容 ; 乃 是 表 达 主 题 最 有 效 的 艺 术 手 段 元 代 戏 曲

从 因 人 设 事 谈 起 一 部 文 学 作 品 ( 尤 其 是 长 篇 小 说 ) 的 结 构 至 关 重 要, 因 为 它 是 文 本 整 体 的 组 织 方 式 和 内 部 构 造, 既 是 形 式 又 是 内 容 ; 乃 是 表 达 主 题 最 有 效 的 艺 术 手 段 元 代 戏 曲 凤 头 猪 肚 豹 尾 凤 头 猪 肚 豹 尾 谈 死 水 微 澜 的 结 构 艺 术 艾 芦 摘 要 : 论 文 从 死 水 微 澜 的 人 物 和 场 景 描 写 入 手, 具 体 地 分 析 了 这 部 长 篇 小 说 的 艺 术 结 构, 同 时 针 对 以 往 研 究 者 的 某 些 观 点 提 出 了 不 同 的 见 解 ; 认 为 作 品 以 精 粹 见 长, 以 少 胜 多, 由 小

More information

循经指压疗法

循经指压疗法 循 经 指 压 疗 法 陈 玉 琴 0 自 序 我 没 有 进 过 医 学 院, 更 没 有 学 过 解 剖 学 我 是 一 个 自 学 中 医 的 人, 思 考 问 题 本 着 简 单 化 和 直 观 的 原 则 循 经 指 压 健 康 疗 法 就 是 我 二 十 年 实 践 的 心 得 体 会 愿 以 此 作 向 资 深 的 中 医 师 请 教, 尤 其 是 中 医 大 的 教 师, 如 果 你

More information

Microsoft Word - HERBRECIPES《中國藥膳》.doc

Microsoft Word - HERBRECIPES《中國藥膳》.doc 中 國 藥 膳 僅 供 參 考, 請 勿 亂 服 若 欲 服 用, 自 行 負 責 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 藥 膳 系 列 總 目 錄 第 一 章 總 論 第 一 節 簡 介 第 二 節 特 點 1. 注 重 整 體, 辯 證 施 食 2. 防 治 兼 宜, 效 果 顯 著 3. 良 藥 可 口, 服 食 方 便 第 三 節 藥 膳 內 容 與 分 類

More information

毛主席的猪

毛主席的猪 在 孔 孟 之 乡 掘 孔 孟 后 裔 的 坟, 在 生 产 队 的 田 里 放 毛 主 席 的 猪, 也 只 有 知 青 才 有 这 " 特 权 " 吟 了 < 血 色 黄 昏 >, 叹 了 < 蹉 跎 岁 月 >, 再 哼 一 哼 知 青 生 活 中 那 千 韵 百 律 的 曲 曲 小 调 儿, 也 别 有 一 番 滋 味 在 心 头 扒 坟 梁 平 扒 坟, 是 当 地 老 百 姓 的 叫 法

More information

附件1.FIT)

附件1.FIT) 附 件 : 上 海 市 科 技 创 新 人 才 激 励 政 策 操 作 指 南 上 海 市 科 技 创 新 人 才 激 励 政 策 操 作 指 南 2011 年 1 月 国 有 企 业 科 技 创 新 激 励 操 作 指 南 附 件 : 上 海 市 科 技 创 新 人 才 激 励 政 策 操 作 指 南 目 录 1. 人 才 引 进 132 1.1 上 海 市 户 籍 及 居 住 证 132 1.2

More information

23 10 18 5 1997 12 1 (1) (7) (16) (25) (35) (37) (44) (48) (51) (54) ( ) (58) (69) (74) (77) (89) (94) (98) (100) (107) (113) (117) (121) (126) " 37 38 ( ) ( ) ( ) ( ) 300 1 500 200 1938 1 30 15 8 1937

More information

北魏山东佛教文化个案研究

北魏山东佛教文化个案研究 北 魏 山 东 佛 教 文 化 个 案 研 究 一 北 魏 时 期 佛 教 在 山 东 的 传 播 与 发 展 以 滨 州 博 兴 龙 华 寺 为 代 表 社 会 背 景 北 魏 佛 教 的 发 展 是 伴 随 着 佛 教 的 中 国 化 即 汉 化 的 过 程 而 不 断 发 展 的, 同 时 也 带 有 北 魏 统 治 者 作 为 少 数 民 族 的 本 身 特 色 自 汉 通 西 域, 佛 教

More information

C++ 程式設計

C++ 程式設計 C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004

More information

中 国 中 西 医 结 合 杂 志 年 月 第 卷 第 期!" 通 透 性 增 加 产 生 蛋 白 水 解 酶 促 进 血 管 内 皮 细 胞 有 丝 分 裂 内 皮 细 胞 从 基 底 膜 上 迁 移 到 血 管 周 围 间 隙 粘 附 聚 集 重 构 为 三 维 管 腔 并 与 周 围 血 管

中 国 中 西 医 结 合 杂 志 年 月 第 卷 第 期! 通 透 性 增 加 产 生 蛋 白 水 解 酶 促 进 血 管 内 皮 细 胞 有 丝 分 裂 内 皮 细 胞 从 基 底 膜 上 迁 移 到 血 管 周 围 间 隙 粘 附 聚 集 重 构 为 三 维 管 腔 并 与 周 围 血 管 中 国 中 西 医 结 合 杂 志 年 月 第 卷 第 期!" 学 术 探 讨 冠 心 病 的 治 疗 性 血 管 新 生 与 活 血 化 瘀 段 练 熊 兴 江 王 阶 摘 要 治 疗 性 血 管 新 生 /) '0 1/ * ' 是 冠 状 动 脉 硬 化 性 心 脏 病 * '( '/) *! / * ) '/ ' + 治 疗 的 新 策 略 而 活 血 化 瘀 治 法 对 于 + 的 基 础

More information

教育部高等学校教学

教育部高等学校教学 i 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2007 2008 2009 13 2007 50 98 6 38 1 13 8 1 2 20 8 3 1000 2010 1000 13 13 1 20 80 1984 25 8 21 2 1 1 26 1 5 1 3 2 1987 4.5 2 9.5 13.5 3 1 2 1990 9 3 22

More information

Microsoft PowerPoint - OPVB1基本VB.ppt

Microsoft PowerPoint - OPVB1基本VB.ppt 大 綱 0.VB 能 做 什 麼? CH1 VB 基 本 認 識 1.VB 歷 史 與 版 本 2.VB 環 境 簡 介 3. 即 時 運 算 視 窗 1 0.VB 能 做 什 麼? Visual Basic =>VB=> 程 式 設 計 語 言 => 設 計 程 式 設 計 你 想 要 的 功 能 的 程 式 自 動 化 資 料 庫 計 算 模 擬 遊 戲 網 路 監 控 實 驗 輔 助 自 動

More information

第3章.doc

第3章.doc 3 3 3 3.1 3 IT Trend C++ Java SAP Advantech ERPCRM C++ C++ Synopsys C++ NEC C C++PHP C++Java C++Java VIA C++ 3COM C++ SPSS C++ Sybase C++LinuxUNIX Motorola C++ IBM C++Java Oracle Java HP C++ C++ Yahoo

More information

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南 Symantec Sygate Enterprise Protection 防 护 代 理 安 装 使 用 指 南 5.1 版 版 权 信 息 Copyright 2005 Symantec Corporation. 2005 年 Symantec Corporation 版 权 所 有 All rights reserved. 保 留 所 有 权 利 Symantec Symantec 徽 标 Sygate

More information

ebook129-9

ebook129-9 9 : D L L D L L D L L D L L D e l p h i D L L DLL DLL D L L D L L D L L Wi n 32 D L L D L L Wi n d o w s D L L D L L D L D L L 9.1 DLL Wi n d o w s D L L D L L K e r n e l 32. d l l U s e r 32. d l l G

More information

51 C 51 isp 10 C PCB C C C C KEIL

51 C 51 isp 10   C   PCB C C C C KEIL http://wwwispdowncom 51 C " + + " 51 AT89S51 In-System-Programming ISP 10 io 244 CPLD ATMEL PIC CPLD/FPGA ARM9 ISP http://wwwispdowncom/showoneproductasp?productid=15 51 C C C C C ispdown http://wwwispdowncom

More information

Strings

Strings Polymorphism and Virtual Functions Cheng-Chin Chiang Virtual Function Basics 多 型 (Polymorphism) 賦 予 一 個 函 數 多 種 意 涵, 存 在 於 同 一 類 別 之 內 祖 先 類 別 與 後 代 類 別 間 物 件 導 向 程 式 設 計 基 本 原 理 虛 擬 函 數 (Virtual Function)

More information

Microsoft PowerPoint - WP20.ppt

Microsoft PowerPoint - WP20.ppt Dynamic-Link Libraries Spring 2007 Windows Programming Chapter 20 Dynamic-Link Libraries 吳俊霖 Jiunn-Lin Wu jlwu@cs.nchu.edu.tw Dynamic-link libraries (DLLs) lie at the heart of the Microsoft Windows component.

More information

C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40

C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 C C trio@seu.edu.cn C C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 Week3 C Week5 Week5 Memory & Pointer

More information

C 1 # include <stdio.h> 2 int main ( void ) { 4 int cases, i; 5 long long a, b; 6 scanf ("%d", & cases ); 7 for (i = 0;i < cases ;i ++) 8 { 9

C 1 # include <stdio.h> 2 int main ( void ) { 4 int cases, i; 5 long long a, b; 6 scanf (%d, & cases ); 7 for (i = 0;i < cases ;i ++) 8 { 9 201 201 21 ( ) 1. C pa.c, pb.c, 2. C++ pa.cpp, pb.cpp Compilation Error long long cin scanf Time Limit Exceeded 1: A 1 B 1 C 5 D RPG 10 E 10 F 1 G II 1 1 201 201 C 1 # include 2 int main ( void

More information