Mr.Lucy

导航

随笔分类 -  C++语言

C++基础概念
动态链接库示例
摘要:#include <windows.h>#include <stdio.h>#ifdef __cplusplusextern "C"{ #endif __declspec(dllexport) int __cdecl myPuts(LPSTR lpszmsg){ DWORD ccWriten; BOOL fret; HANDLE hhandle; hhandle = CreateFile("CONOUT.txt",GENERIC_WRITE,FILE_SHARE_WRITE,NULL,OPEN_EXISTING,FILE_ATTR 阅读全文

posted @ 2012-08-27 00:31 Mr.Lucy 阅读(219) 评论(0) 推荐(0)