Article View: borland.public.cppbuilder.nativeapi
Article #15186graphics disappear during serial port access in seperate thread, only under WinXP
From: Bruce Larrabee
Date: Fri, 18 Jul 2003 06:37
Date: Fri, 18 Jul 2003 06:37
21 lines
1656 bytes
1656 bytes
I'm using draw methods like MoveTo and LineTo to draw on a Canvas. I'm recieving data through a serial port from a digitizer. The port is in a seperate thread. Under WindowsXP, after the first byte comes in from the serial port all the graphics drawn on the Canvas disapear and it is no longer possible to draw to the Canvas. (you can draw but nothing ever appears again) No other part of the program seems to be affected. For example the data from the serial port still appears in the status bar, in real time. There has never been any problem using Win98 or Win95. Can anyone help? Bruce Larrabee
Technical Details
Message-ID:
<3F179595.5060708@lycos.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b0bc288628eb0c80,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-17 23:39:28 PST Message-ID: <3F179595.5060708@lycos.com> Date: Thu, 17 Jul 2003 23:37:09 -0700 From: Bruce Larrabee <zorwizard@lycos.com> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: graphics disappear during serial port access in seperate thread, only under WinXP Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 66.178.140.170 X-Trace: newsgroups.borland.com 1058509910 66.178.140.170 (17 Jul 2003 23:31:50 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail