Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Com ports in Xp professional.

549 views
Skip to first unread message

Don Hill

unread,
Sep 18, 2002, 6:09:24 PM9/18/02
to
The "APRO Exception" is a generic catch-all when we don't find a match for
the error being raised. I have XP professional and don't have that problem.
The only thing I can think of is if XP requires administrative privileges to
access a port. Are you logged on as administrator?

I am not sure if a log will show us anything, but it may give me an idea
where the error is happening. You can generate a dispatcher log by setting
the Logging property of the com port to tlOn and specifying an explicit path
and file name (C:\APRO.LOG) for the LogName property. Don't hit the Ctrl-F2
when you get the exception. Click the OK button and F9 in order to end
gracefully and allow the log to be generated.

--
Don Hill (TurboPower Software)
"Jairzinhio Pacheco" <ja...@mail.microsip.com.mx> wrote in message
news:YwLGSfxX...@tpsmail01.turbopower.net...
> I'm evaluating the Turbo power Async professional for Delphi
> and first I tested the ExCom in
>
> Windows 95, 98, Xp Home Edition and it works well
>
> but when I try in windows Xp professional when I Clik the Button Test
> ApdComport1.Output := 'Some Text';
>
> It raise a exception: Apro Exception.
>
> 1.- In one machine with Windows Xp Professional. some times it works but
the
> thing that
> I do to it works is: Go to the Device Manager--> Go to the Com1 --> then
> rigth click and
> I disable and then enable the com port. After do thar the Example works
> well. but when I reboot the machine the example isn愒 works again.
>
> 2.- Another case is in other machine with Windows Xp Professional the
> example don愒 work. I get the same error: Apro Exception. I try to do the
> same thing that I describe in the point 1, but here nothing happen, the
> example did慨ot work.
>
> The port exists.
> The port is not alredy open.
> What can I do?
> What can I do in xp proffesional?
> What is the difference Xp Home edition and Professional?
> What can I do to mantein the port available?
> Any suggestions?
>
> Thanks.
>
>
>
>


Matt Lacey

unread,
Sep 13, 2002, 4:55:04 AM9/13/02
to
I have a similar problem with my com and parallel ports. Every time I
reboot my machine I have to uninstall and reinstall my ports to be able to
use them. If not I also get the generic 'APRO Exception' error.

Although I have not been able to shed any light on what's happening I think
it's more likely to be a problem with windows, rather than APRO as the ports
are no good for anything, not just use via APRO.

Just a related thought.

richa...@mitacworld.com

unread,
Sep 19, 2002, 7:13:28 AM9/19/02
to
HI,

I have come across something like this. When I try to send ATI to the modem
attached to COM1 I get the problem but if I create a dialup networking
account then the modem will work!

Ric


"Jairzinhio Pacheco" <ja...@mail.microsip.com.mx> wrote in message
news:YwLGSfxX...@tpsmail01.turbopower.net...
> I'm evaluating the Turbo power Async professional for Delphi
> and first I tested the ExCom in
>
> Windows 95, 98, Xp Home Edition and it works well
>
> but when I try in windows Xp professional when I Clik the Button Test
> ApdComport1.Output := 'Some Text';
>
> It raise a exception: Apro Exception.
>
> 1.- In one machine with Windows Xp Professional. some times it works but
the
> thing that
> I do to it works is: Go to the Device Manager--> Go to the Com1 --> then
> rigth click and
> I disable and then enable the com port. After do thar the Example works

> well. but when I reboot the machine the example isn´t works again.


>
> 2.- Another case is in other machine with Windows Xp Professional the

> example don´t work. I get the same error: Apro Exception. I try to do the


> same thing that I describe in the point 1, but here nothing happen, the

> example did´not work.

Jairzinhio Pacheco

unread,
Sep 19, 2002, 2:33:52 PM9/19/02
to
I already know how to solve my problem.

In that machine with Xp profesional.
Some day I added a serial printer in the Com1. and
Xp do something when reboot that holds the com port.

I only remove the serial printer and it愀 work well in Xp professional.

note: but in windows 98 I have the same printer and the por it愀 not hold.

When i try to do the log file. when it raise the error the log file is
empty, now
with the fix the log file contains something.

"Don Hill" <mails...@turbopower.com> wrote in message
news:7hH2wh$XCHA...@tpsmail01.turbopower.net...
> You guys really have me curious now. Can any of you generate a dispatcher
> log? I would really like to know the response that we are getting from the
> modem to see where the generic "APRO exception" is coming from. We should
be
> able to generate a more informative error message if we know where it is
> happening and the reason. Are you all experiencing this only on the XP
> operating system?


>
> --
> Don Hill (TurboPower Software)

> <richa...@mitacworld.com> wrote in message
> news:Dw9zC18X...@tpsmail01.turbopower.net...


> > HI,
> >
> > I have come across something like this. When I try to send ATI to the
> modem
> > attached to COM1 I get the problem but if I create a dialup networking
> > account then the modem will work!
> >
> > Ric
> > "Jairzinhio Pacheco" <ja...@mail.microsip.com.mx> wrote in message
> > news:YwLGSfxX...@tpsmail01.turbopower.net...
> > > I'm evaluating the Turbo power Async professional for Delphi
> > > and first I tested the ExCom in
> > >
> > > Windows 95, 98, Xp Home Edition and it works well
> > >
> > > but when I try in windows Xp professional when I Clik the Button Test
> > > ApdComport1.Output := 'Some Text';
> > >
> > > It raise a exception: Apro Exception.
> > >
> > > 1.- In one machine with Windows Xp Professional. some times it works
but
> > the
> > > thing that
> > > I do to it works is: Go to the Device Manager--> Go to the Com1 -->
then
> > > rigth click and
> > > I disable and then enable the com port. After do thar the Example
works

> > > well. but when I reboot the machine the example isn愒 works again.


> > >
> > > 2.- Another case is in other machine with Windows Xp Professional the

> > > example don愒 work. I get the same error: Apro Exception. I try to do


> the
> > > same thing that I describe in the point 1, but here nothing happen,
the

> > > example did慨ot work.

Don Hill

unread,
Sep 19, 2002, 12:20:16 PM9/19/02
to
You guys really have me curious now. Can any of you generate a dispatcher
log? I would really like to know the response that we are getting from the
modem to see where the generic "APRO exception" is coming from. We should be
able to generate a more informative error message if we know where it is
happening and the reason. Are you all experiencing this only on the XP
operating system?

--
Don Hill (TurboPower Software)
<richa...@mitacworld.com> wrote in message
news:Dw9zC18X...@tpsmail01.turbopower.net...

> HI,
>
> I have come across something like this. When I try to send ATI to the
modem
> attached to COM1 I get the problem but if I create a dialup networking
> account then the modem will work!
>
> Ric
> "Jairzinhio Pacheco" <ja...@mail.microsip.com.mx> wrote in message
> news:YwLGSfxX...@tpsmail01.turbopower.net...
> > I'm evaluating the Turbo power Async professional for Delphi
> > and first I tested the ExCom in
> >
> > Windows 95, 98, Xp Home Edition and it works well
> >
> > but when I try in windows Xp professional when I Clik the Button Test
> > ApdComport1.Output := 'Some Text';
> >
> > It raise a exception: Apro Exception.
> >
> > 1.- In one machine with Windows Xp Professional. some times it works but
> the
> > thing that
> > I do to it works is: Go to the Device Manager--> Go to the Com1 --> then
> > rigth click and
> > I disable and then enable the com port. After do thar the Example works

> > well. but when I reboot the machine the example isn愒 works again.


> >
> > 2.- Another case is in other machine with Windows Xp Professional the

> > example don愒 work. I get the same error: Apro Exception. I try to do


the
> > same thing that I describe in the point 1, but here nothing happen, the

> > example did慨ot work.

Matt Lacey

unread,
Sep 20, 2002, 4:40:52 AM9/20/02
to
I'm experiencing this on Windows2000.

I don't know how to create a dispatcher log but the error is occurring in
TApdCustomComPort.InitPort
It would appear that there is a problem with the call to InitializePort
because the 'Res' variable is set to -1 which is not handled as an option,
so it just creates the standard unknown exception.

I am however still running 3.06, so you'll probably tell me this is handled
better in 4.05. But haven't had time to determine if happy to use it yet,
4.04 still had to many errors in other areas.

Matt.


"Don Hill" <mails...@turbopower.com> wrote in message
news:7hH2wh$XCHA...@tpsmail01.turbopower.net...

> > > well. but when I reboot the machine the example isn´t works again.


> > >
> > > 2.- Another case is in other machine with Windows Xp Professional the

> > > example don´t work. I get the same error: Apro Exception. I try to do


> the
> > > same thing that I describe in the point 1, but here nothing happen,
the

> > > example did´not work.

Don Hill

unread,
Sep 20, 2002, 12:12:48 PM9/20/02
to
Matt,

Make sure you have the latest service pack. I think it is service pack 3 if
I remember right. I seem to remember someone saying their service pack
update fixed a similar problem. It does sound like a windows problem. I
guess you never want to reboot your machine, right<g>.

--
Don Hill (TurboPower Software)

"Matt Lacey" <matt....@city-link.co.uk> wrote in message
news:ubolKDI...@tpsmail01.turbopower.net...

Matt Lacey

unread,
Sep 23, 2002, 12:49:43 PM9/23/02
to
Upgraded to SP3 but still have the same problem. probably dodgy ports, I
guess. Just automate the uninstall and reinstall of ports on start-up. Not
a very elegant solution but I haven't the time to sort it properly.

Thanks for the suggestion though.


"Don Hill" <mails...@turbopower.com> wrote in message

news:CrODQCMY...@tpsmail01.turbopower.net...

0 new messages