Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

问题 GPS COM port is occupied problem.

  • 2012年2月19日 16:22
     
     

    I use windows mobile professional  6 SDK and VS2008.I use the microsoft code sample for GPS application(Open,read coordinates and close GPS).It works well 2 times.

    And then when i use it third time to read my location doesn't work.The mobile has windows mobile 6.5 OS which has GPS Viewer application.

    when i open it i get this error

    "The GPS COM port is occupied. Please end all GPS applications and a
    restart GPS viewer again."

    I am sure that i exit from my application and turn the mobile off and then open it but i get the same error.

    I there any method or program to clean the port from this apps.

    Can you help me plz.

全部回复

  • 2012年2月21日 2:50
     
     
    Did you try to reset your device or try to run the sample on another machine?

    NEU_ShieldEdge

  • 2012年2月21日 21:54
     
     
    Yes i close and open the device many times the same problem is occured again.
    No way i have to solve this error in that device cause this is the device i will deploy my
    application on it and also cause the GPS works 2 times later.So i think the problem in the port.