Re: releasing usb port-com7
- From: "Scherbina Vladimir" <v_scherbina@xxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 11:17:09 +0300
Are you sure that application terminates? Check that with process explorer, most likely, application's window is deleted but the process is still alive.
--
--Vladimir, Windows SDK MVP
"sandeep S K" <sandeepSK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:B4FEDD49-3941-4BDF-BEDD-2EC3C3069B17@xxxxxxxxxxxxxxxx
Ok Arkady i will do that, and thanks for your response.
-Sandeep
"Arkady Frenkel" wrote:
I met such behavior on windows CE ( on some platforms ) not desktop, where
closeing app didn't free port. Win32 have obligation to free all resources
app used. Maybe ask that additionally on kernel NG :
microsoft.public.win32.programmer.kernel too
Arkady
"sandeep S K" <sandeepSK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7A41CE21-C243-48D5-AA5A-DC35C47F51F9@xxxxxxxxxxxxxxxx
> Yes Frenkel iam talking about desktop windows app.
>
> This is a application used to flash the phone with a build. Now for
> flashing
> it uses a usb port say (com7) and after flashing when we are closing > the
> flashing application the com7 is not relaesed.I mean iam not able to > use
> this
> com7 port for any other application until i unplug the usb cable.
>
> Can we restart the port by running some c++ codes.we can do the same > for
> serial ports, we can get the io-mapped address for serial port but what > is
> the register structure of usb port?what is its io-mapped addess.
> Is there any other way wherein we can resolve this?
>
> "Arkady Frenkel" wrote:
>
>> Do you talk about Windows CE or desktop windows app ?
>> Arkady
>>
>> "sandeep S K" <sandeep S K@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:311942DB-80A4-44C9-850D-985169D4ECC4@xxxxxxxxxxxxxxxx
>> > iam using usb port com7 for flashing my phone using a application
>> > software.Now after flashing, when iam closing the application the
>> > connection
>> > with com7 is not released. or in other words when iam checking the
>> > staus
>> > of
>> > com7 in phones and modems option it shows com7 is still not present.
>> >
>> > How can i release the connection of com7 through some codes ,after
>> > flashing
>> > the phone.Practicaly we used to release the connection by pulling >> > out
>> > the
>> > cable.
>>
>>
>>
.
- Follow-Ups:
- Re: releasing usb port-com7
- From: sandeep S K
- Re: releasing usb port-com7
- References:
- Re: releasing usb port-com7
- From: Arkady Frenkel
- Re: releasing usb port-com7
- From: Arkady Frenkel
- Re: releasing usb port-com7
- Prev by Date: Re: Running rtp client and server in the same PC
- Next by Date: Re: socket communication: send & receive doesn't work right
- Previous by thread: Re: releasing usb port-com7
- Next by thread: Re: releasing usb port-com7
- Index(es):
Relevant Pages
|