控件的用法是 设置3个属性,然后调用Start()内部启动一个线程函数ProcFun1进行处理,处理中报出各种事件,在VB下很正常
AxInterpreter1.CWD = ".\\file"
AxInterpreter1.PATH_GLOBAL_VAR = ".\\globalV"
AxInterpreter1.PRG_FILE_NAME = "enter.txt"
AxInterpreter1.START()可是MFC对话框程序中,点了按钮却死活没反应 string temp1("Torch.tol");
m_ctrR1.put_PRG_FILE_NAME(temp1.c_str());
string temp2(".\\file");
m_ctrR1.put_CWD(temp2.c_str());
string temp3(".\\globalV");
m_ctrR1.put_PATH_GLOBAL_VAR(temp3.c_str());
m_ctrR1.START();而且点了按钮,“输出”里有时没有ProcFun1,只有线程 'Win32 线程' (0x1b64) 已退出
求助,怎么让MFC能调用这个atl控件呢?
AxInterpreter1.CWD = ".\\file"
AxInterpreter1.PATH_GLOBAL_VAR = ".\\globalV"
AxInterpreter1.PRG_FILE_NAME = "enter.txt"
AxInterpreter1.START()可是MFC对话框程序中,点了按钮却死活没反应 string temp1("Torch.tol");
m_ctrR1.put_PRG_FILE_NAME(temp1.c_str());
string temp2(".\\file");
m_ctrR1.put_CWD(temp2.c_str());
string temp3(".\\globalV");
m_ctrR1.put_PATH_GLOBAL_VAR(temp3.c_str());
m_ctrR1.START();而且点了按钮,“输出”里有时没有ProcFun1,只有线程 'Win32 线程' (0x1b64) 已退出
求助,怎么让MFC能调用这个atl控件呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货