Mr.Lucy

导航

2012年8月27日 #

动态链接库示例

摘要: #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 阅读(205) 评论(0) 推荐(0) 编辑