Re: releasing usb port-com7

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.
>>
>>
>>




.



Relevant Pages

  • Re: releasing usb port-com7
    ... closing the application. ... closeing app didn't free port. ... it uses a usb port say (com7) and after flashing when we are closing ...
    (microsoft.public.win32.programmer.networks)
  • Re: releasing usb port-com7
    ... closeing app didn't free port. ... it uses a usb port say (com7) and after flashing when we are closing the ...
    (microsoft.public.win32.programmer.networks)
  • Re: keeping ports open
    ... If a port is open, it means that 1) a software or service is running on your ... and 2) you're not using a firewall or your firewall isn't ... Use firewall software and hardware and antivirus software that is ... Follow the instructions for hardening Windows and IIS at ...
    (microsoft.public.security)
  • [Full-Disclosure] ron1n phone home, episode 4
    ... Hacking from Windows 3.x, 95 and NT ... Use secret Windows 95 DOS commands to track down and port surf computers ... Download hacker tools such as port scanners and password crackers designed ... Now you have the option of eight TCP/IP utilities to play with: telnet, ...
    (Full-Disclosure)
  • Re: How to Maintain an IIS Server?
    ... > server running on a Windows 2000 server. ... before a firewall and antivirus have been installed]. ... open ports; however, this will not identify which program is using the port. ...
    (microsoft.public.inetserver.iis.security)