摘要:
头文件 extern "C" _declspec(dllexport)void AddFunction(); cpp文件 extern "C" _declspec(dllexport) void AddFunction(){ AfxMessageBox(_T("dll_function"));} 阅读全文
摘要:
HINSTANCE PH=LoadLibrary(_T("APlayerCaller.dll")); HWND hwnd = AfxGetMainWnd()->m_hWnd; int hwndw = int(hwnd); int aplayer; typedef int (WINAPI*dll) ( 阅读全文
摘要:
TCHAR *path = new TCHAR[MAX_PATH]; GetModuleFileName(NULL,path,MAX_PATH); AfxMessageBox(path); 阅读全文
摘要:
var btn = UIButton(frame: CGRect(x: 200, y: 200, width: 100, height: 100)) btn.setTitle("jicheng", forState: UIControlState.Normal) //btn.setTitleColo 阅读全文
摘要:
func stringmid_pl (wholestring:String,front:String,behind:String,inout return_string:String,getheroid:Bool) { //数组参数inout // var whole_tmp:String = wh 阅读全文
摘要:
func stringmid (wholestring:String,front:String,behind:String)->String { if wholestring.isEmpty { return("") //wholestring 不能为nil }else { var whole:NS 阅读全文