🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14094

Re: Thread

#14094
From: Remy Lebeau (TeamB)
Date: Tue, 26 Aug 2003 21:01
27 lines
2091 bytes
"Saravanan" <saravanan@opussoft.com> wrote in message
news:3f4bc01f$1@newsgroups.borland.com...

> For initial level, this holds good.  Properities can change in
> run-time based on the user input.  And also there is so many
> properities to be set...

You could make thread messages for each one, and post the messages to the
thread and have it update the properties when appropriate.

I'm assuming that TXControl is an ActiveX control?  The thing to be careful
about is that you have to be weary of threading models and apartments and
such when dealing with threads.  You can't just access arbitrary ActiveX
control across threads directly without taking certain precautions first,
such as ensuring proper marshaling between apartments if you have the
control instantiated in one thread and accessed in another.


Gambit



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03
Technical Details
Message-ID: <3f4bcaac$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f4b8d2f$1@newsgroups.borland.com> <3f4baea7$1@newsgroups.borland.com> <3f4bc01f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d3c99904b7c174bd
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-26 14:10:52 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f4b8d2f$1@newsgroups.borland.com> <3f4baea7$1@newsgroups.borland.com> <3f4bc01f$1@newsgroups.borland.com>
Subject: Re: Thread
Date: Tue, 26 Aug 2003 14:01:34 -0700
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f4bcaac$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061931692 207.175.226.26 (26 Aug 2003 14:01:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail