🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to activate application from inactive state

#10783
From: agus
Date: Sun, 14 Mar 2004 12:40
18 lines
1717 bytes
Remy Lebeau (TeamB) wrote
> You need to be more specific.  Just saying "it doesn't
> work" says nothing at
> all about the actual problem you are experiencing.

Sorry, my program is  simple, if it works, application will shows a modal
messagebox telling that it is succeeded, when it didn't
work,  messagebox didn't pop up and application hang. This just a test
program, I want to know before I write a real program.

> How are you reading the data to begin with?  Are you using a thread?  If >
not, you should consider doing so.  Then the thread can post custom messages
to the main code when data arrives.

No, I am not using a thread, I just simply using MSComm ActiveX
Component from Microsoft Visual Foxpro to send and receive data from
communication port.
Technical Details
Message-ID: <405452ad@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40540e1e@newsgroups.borland.com> <40541298@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ac78bb8d3f6ec5bf
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-14 04:52:05 PST
From: "agus" <seim@bdg.centrin.net.id>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40540e1e@newsgroups.borland.com> <40541298@newsgroups.borland.com>
Subject: Re: How to activate application from inactive state
Date: Sun, 14 Mar 2004 19:40:07 +0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 202.146.245.116
Message-ID: <405452ad@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1079268013 202.146.245.116 (14 Mar 2004 04:40:13 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail