Article View: borland.public.cppbuilder.nativeapi
Article #5042Re: serial COM ports from various COM objects
From: Vladimir Afanasyev
Date: Wed, 02 Nov 2005 07:43
Date: Wed, 02 Nov 2005 07:43
21 lines
1701 bytes
1701 bytes
Hi Alan. Alan Bellingham <alanb@episys.com> wrote: > >But if the other COM object passes you the handle, then you should be >OK. Since it's in the same thread, I think that should work fine. > Thank you. I tried it (both objects in-process DLLs) but without result. Handle was passed via Registry. Application freezed when second object write data in port. Frankly it is more complex system - OPOS (Ole for POS) and besides my objects also work some additional ActiveX (OPOS Control objects) that not controlled by my code (more exactly this ActiveXs control my code). May be problem in this. Well I'll try DuplicateHandle, calling first objects methods from second, etc. Still not sure in success result. Vladimir.
Technical Details
Message-ID:
<43687c14$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<43677c8e$1@newsgroups.borland.com> <4367a444$1@newsgroups.borland.com> <qf9fm19u4gqlt1n66acge6lvq9c5h357n1@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a36c2447d040b89c X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Afanasyev" <avv@systema.kiev.ua> Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua> Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua> Subject: Re: serial COM ports from various COM objects Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 83.218.237.46 X-Forwarded-For: unknown References: <43677c8e$1@newsgroups.borland.com> <4367a444$1@newsgroups.borland.com> <qf9fm19u4gqlt1n66acge6lvq9c5h357n1@4ax.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <43687c14$1@newsgroups.borland.com> Date: 2 Nov 2005 00:43:00 -0700 X-Trace: newsgroups.borland.com 1130920980 207.105.83.66 (2 Nov 2005 00:43:00 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail