Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Command Write in to separate text file...

Command Write in to separate text file...

Scheduled Pinned Locked Moved Managed C++/CLI
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    spalanivel
    wrote on last edited by
    #1

    Hi, I need the following Command need to be in a separate text file. BYTE *Command; long length; // Assume Command holds some values after executing the Current Statement OutEndpt->XferData(Command, length); //XferData used to transfer Data to USB Now I need the Command to be write in a seaprate text file with the file length as length given above. Anyhelp appreciated.. Thanks, Subbu

    N 1 Reply Last reply
    0
    • S spalanivel

      Hi, I need the following Command need to be in a separate text file. BYTE *Command; long length; // Assume Command holds some values after executing the Current Statement OutEndpt->XferData(Command, length); //XferData used to transfer Data to USB Now I need the Command to be write in a seaprate text file with the file length as length given above. Anyhelp appreciated.. Thanks, Subbu

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Your question is unclear.

      spalanivel wrote:

      I need the following Command need to be in a separate text file. BYTE *Command; long length;

      How can this be in a text file?

      spalanivel wrote:

      Now I need the Command to be write in a seaprate text file with the file length as length given above.

      Are you using C++/CLI? If yes, classes under System::IO will help you to work with files. If you are using standard C++, you may need to check this[^] and this is not the right forum. Try C++/MFC forum instead. :)

      Navaneeth How to use google | Ask smart questions

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups