sendmsg.cpp

来自「我根据comp430s改写的DLL源码」· C++ 代码 · 共 25 行

CPP
25
字号
#include "stdafx.h"

/*#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
*/
BOOL sendmsg(char *msg1, char *msg2, char *msg3)
{
	BOOL vret;
	/*COleDispatchDriver odriver;
	
	if(odriver.CreateDispatch("aastring.Document") ==0) return FALSE;
	static BYTE parms[] =VTS_BSTR VTS_BSTR VTS_BSTR;
	odriver.InvokeHelper(0x08, DISPATCH_METHOD, VT_BOOL, &vret, parms, msg1, msg2, msg3);
	odriver.ReleaseDispatch();
	*/
	return vret;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?