动态链接库示例
摘要:#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
浙公网安备 33010602011771号