由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - one question about threading
相关主题
.NET, 怎样初始化动态树祖问个多语言的Windows Application问题
how to write an object into xml with c#问appSettings
a C# question问个best practice
[FWD] .Net 101 [2]asp 打开oracle数据库问题。
.net 2003竟然不支持类中静态变量请教如何initialize session
static or else?.Net 找人
一个dropdownlist的问题M$FT 在LONGHORN后面的企图
ASP.NET 难题测试 (1)[转载] local smtp server doesn't send out email...
相关话题的讨论汇总
话题: dll话题: thecomp话题: initialize话题: threading话题: question
进入DotNet版参与讨论
1 (共1页)
f*****e
发帖数: 5177
1
I have a third party dll which need to be initialized in my class. that dll
provides only async initialization solution. That is the dll provide a
constructor which returns immediately with newly created instance. Then it
begins to initialize its internal components. After
finishes, it fires OnReady event. I have to wait to receive that event in
order to get full functionalities. Here is an example:
Class1
{
private ThirdPartyComp theComp;
public void Initialize()
{
theComp
c**e
发帖数: 2558
2
read 'programming .net components'

dll
Or

【在 f*****e 的大作中提到】
: I have a third party dll which need to be initialized in my class. that dll
: provides only async initialization solution. That is the dll provide a
: constructor which returns immediately with newly created instance. Then it
: begins to initialize its internal components. After
: finishes, it fires OnReady event. I have to wait to receive that event in
: order to get full functionalities. Here is an example:
: Class1
: {
: private ThirdPartyComp theComp;
: public void Initialize()

b****u
发帖数: 1027
3
use WaitHandle. (MannualResetEvent)
1 (共1页)
进入DotNet版参与讨论
相关主题
[转载] local smtp server doesn't send out email....net 2003竟然不支持类中静态变量
InstallShield & .NETstatic or else?
诚心请教:如果有点vb&c++基础,学vb .net要多久一个dropdownlist的问题
Thread suspend and resumeASP.NET 难题测试 (1)
.NET, 怎样初始化动态树祖问个多语言的Windows Application问题
how to write an object into xml with c#问appSettings
a C# question问个best practice
[FWD] .Net 101 [2]asp 打开oracle数据库问题。
相关话题的讨论汇总
话题: dll话题: thecomp话题: initialize话题: threading话题: question