User Profile

Collapse

Profile Sidebar

Collapse
ianinini
ianinini
Last Activity: May 12 '09, 09:46 PM
Joined: Mar 18 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ianinini
    replied to CreateFile Windows COM1
    in C
    Thanks

    Thanks bmillerqw. I've actually managed to make something work using MultiByteToWide Char().

    I don't think you can use TEXT() or_T() when for example "COM1" is generated at
    std::string s("COM1");
    TEXT(s.str());

    However the MultiByteToWide Char() type methods work fine!

    Thanks again!
    See more | Go to post

    Leave a comment:


  • george666
    george666 posted a Visitor Message for ianinini
    You can ask on Professional Win32 api newsgroup :
    news://nntp.aioe.org/comp.os.ms-wind...ogrammer.win32
    where it has often been discussed
    See more | Go to post

  • ianinini
    replied to CreateFile Windows COM1
    in C
    Dynamic use of the TEXT script

    I have the same question:

    Does anyone know how to generate the output of TEXT("COM1") in a dynamic way?

    Thanks,
    Ian.
    See more | Go to post

    Leave a comment:


  • ianinini
    ianinini posted a Visitor Message for sevak316
    Hello,

    I am trying to open COMx where x is anywhere between 1 and 4.

    I wondered, did you find an answer to your post on 4th November:
    ----
    I am not sure what that is? (multibyte)

    Oh and by the way, it works. I am getting data out of COM1.

    My question now is, how do I make this dynamic. Can I pass a var to TEXT()?
    It doesn't look like I can because it takes in a "quote"...
    See more | Go to post
No activity results to display
Show More
Working...