CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12

Threaded View

  1. #4
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503

    here is what I am doing!

    well, here it is not giving me any errors...
    It simply writes port opened Successfully.

    now, I am trying to catch any event so, I did DLL import of SetCommMask and WaitCommEvent...

    and now it is not catching any event...
    as it is a modem, I think I need to send a modem command like
    "AT+CMGL=" and should see its result... that'swhat I am doing at the moment...

    and when we talk about setting port parametrs, the winapi function needs a DCB structure... hola! I dont really get to know how to pass this structure through C#...

    I think C++ was a better way out, but i opt for C#... hope wont have to go back to C++ for writing this service... :-)

    thank you folkz for answers... if you have any idea, will be nice to hear...
    Last edited by Andy Tacker; April 24th, 2003 at 08:55 AM.
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured