我在CSoftphoneDlg::OnInitDialog()中写了一个线程 AfxBeginThread(agent_runing, &agent_cfg,THREAD_PRIORITY_NORMAL);现在我想agent_runing的程序运行完后,现接着运行这个线程语句后的语句,我要做一个什么机制啊,只用条件变量还锁.....如何用?谢谢了
解决方案 »
- 工程项目字符集问题
- 谁有vc++ CrytoAPI用于数字签名方面的代码?谢谢
- 基于opencv旋转例程的改进。
- 散分求助,很简单的,谢谢
- [求助]如何禁止CTreeCtrl的节点收缩?
- 急!请问,这是多文档程序的刷新问题吗?
- 有一个工具叫tcpkill能KILL掉一个TCP连接,请问他的原理是什么???
- 请问:如何在c/s中实现 将 结构体转化为字符流打包 并 实时传输?在线等待,谢谢!
- 请高手指教:如何查询比较好?(up有分)
- 汇编语句中 asm dd 1234h 是什么意思?
- 请问高人:我要做个小球做平面运动的动画,可以通过输入控制他的方向,运动速度等.该如何实现呢?
- 铁道部今天不公开,京沪高速铁路----日军中标!(转帖)
H:\freeh323\source\softphone\StdAfx.cpp(9) : error C2146: syntax error : missing ';' before identifier 'g_initproxyfinish'
H:\freeh323\source\softphone\StdAfx.cpp(9) : error C2501: 'HEVENT' : missing storage-class or type specifiers
H:\freeh323\source\softphone\StdAfx.cpp(9) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
StdAfx.cpp
h:\freeh323\source\softphone\stdafx.cpp(10) : error C2040: 'g_initproxyfinish' : 'void *' differs in levels of indirection from 'int'
Error executing cl.exe.
HANDLE hThread = ::CreateThread(NULL, 0, agent_runing, &agent_cfg, 0, NULL);
::WaitForSingleObject(hThread, INFINITE);
::CloseHandle(hThread);
h:\freeh323\source\softphone\stdafx.cpp(10) : error C2040: 'g_initproxyfinish' : 'void *' differs in levels of indirection from 'int'
Error executing cl.exe.是不是编译器的问题啊?