摘要: 环境: VC++6.0 步骤: 1.建立一个WIN32 DYNAMIC-LINK LIBRARY工程,编写CPP文件,文件内容例如: 2.记得编写头文件,在本次事例中,头文件为dll.h,内容: 1 extern"C"_declspec(dllexport) int sum(int a,int b) 阅读全文
posted @ 2017-03-16 17:24 马丁黄瓜啊 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 介绍:创建一个记事本进程,等待用户输入随意字符回车后,关闭记事本进程。由于对两个方法进行了归函,故取消了返回值。 阅读全文
posted @ 2017-03-16 15:19 马丁黄瓜啊 阅读(903) 评论(0) 推荐(0) 编辑
摘要: 在Action添加个TextView控件(上下文演示用); package com.example.test; import android.app.Activity;import android.os.Bundle;import android.view.ContextMenu;import an 阅读全文
posted @ 2017-03-16 10:26 马丁黄瓜啊 阅读(208) 评论(0) 推荐(0) 编辑