Command Write in to separate text file...
-
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
-
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
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