Hw reading

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gianmaria I.

    Hw reading

    Hi,
    i'm using some functions to retrieve infos form an hardware device trought
    com ports. The device is a mobile phone and i retrieve SMS messages.
    Everything works fine, bbut when i execute the scan for retrieve messages my
    application freezes for some seconds.. how can i work around this problem???
    Maybe whit a new thread but... any sample code?

    Regards.


  • Ignacio Machin \( .NET/ C# MVP \)

    #2
    Re: Hw reading

    Hi,

    A thread is the way to go

    take a look at Skeet's guide to threads :


    cheers,

    --
    Ignacio Machin,
    ignacio.machin AT dot.state.fl.us
    Florida Department Of Transportation



    "Gianmaria I." <nowaytoknow@ho thot.it> wrote in message
    news:udVHlFRYFH A.3840@tk2msftn gp13.phx.gbl...[color=blue]
    > Hi,
    > i'm using some functions to retrieve infos form an hardware device trought
    > com ports. The device is a mobile phone and i retrieve SMS messages.
    > Everything works fine, bbut when i execute the scan for retrieve messages
    > my application freezes for some seconds.. how can i work around this
    > problem??? Maybe whit a new thread but... any sample code?
    >
    > Regards.
    >
    >[/color]


    Comment

    Working...