i've tried that too
From: steve (steve_at_nospam.com)
Date: 02/18/05
- Next message: Bob O`Bob: "Re: INPUTBOX"
- Previous message: Milo: "Re: Constants"
- In reply to: YYZ: "Re: removing the end did not change anything: back to the original question"
- Next in thread: Bob O`Bob: "Re: i've tried that too"
- Reply: Bob O`Bob: "Re: i've tried that too"
- Reply: Jim Carlock: "Re: i've tried that too"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Feb 2005 09:02:22 -0800
i have made a simple app that only opens and closes a port. when i run it
with an exteral modem connected to a real port it works normally. when i
run it connected to the internal modem (virtual?) port, it opens the port
normally and hangs the program when i attempt to close the port. this
occurs on multiple computers of various brands around the office, all with
cheapie internal modems of some kind connected to their own ports, and all
runniing win xp. the internal modem ports do not show up under ports in the
device manager, but under modems, the internal modem is shown as connected
to some com port.
i use the program (modem) to connect with modems in the field. the program
runs normally with an external modem connected to a real port. i can open
and close the port, process AT commands, send and receive data, etc. and
yes, i do hangup at the end of a connection. but the problem can be reduced
to simpler terms: if i just load the program and then click exit the
program hangs without any connection being established. loading the program
involves opening the com port and initializing the modem, and occurs without
any problem. the only difference between the external modem on a real com
port version and the internal modem on its own software or virtual com port,
is that i do not try and close the port with the internal modem because that
seems to hang the program. but if i just leave the port as is(open), the
program hangs anyway when i click exit.
any ideas?
"YYZ" <none@none.com> wrote in message
news:eRVxlAdFFHA.3336@TK2MSFTNGP10.phx.gbl...
> "steve" <steve@nospam.com> wrote in message
> news:OqAkM8cFFHA.2832@TK2MSFTNGP14.phx.gbl...
> > yes, i am opening the port and the application runs as it is supposed to
> > using the internal modem. if i try and close the port in the program,
the
> > program hangs. so i do not close it anywhere. and that is, i think the
>
> I don't have a solid answer for you, but have you tried making a very
small
> app that all it does is open then close the port? I would imagine that
> little app would work fine. If it does, then there is something else that
> your code is doing that makes this difficult.
>
> Start small -- addin all your code little bits at a time until it crashes.
> It probably won't take as long as you think, because I bet you can
identify
> LIKELY culprits and add those back in one at a time.
>
> Matt
>
>
- Next message: Bob O`Bob: "Re: INPUTBOX"
- Previous message: Milo: "Re: Constants"
- In reply to: YYZ: "Re: removing the end did not change anything: back to the original question"
- Next in thread: Bob O`Bob: "Re: i've tried that too"
- Reply: Bob O`Bob: "Re: i've tried that too"
- Reply: Jim Carlock: "Re: i've tried that too"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|