Click here to Skip to main content
Sign Up to vote bad
good
See more: C++
Hi Friends,
Sorry for my English. I am working on Medical Device Project. I am new for C++. Get Data from Medical Device,Store into Local Drive and Convert file(s) from local Drive into Local Drive. My MFCDLL creates one file at a time.So How to create Multiple files using COM Port Program.I am using this MFCDLL in my C Share .Net Application.
C++ Method:
Method Name: Import(Portno, FilePath).
Return Value :1(When file created in the Local Drive).
Suppose,file doesn't create in the Path .Return value should 0(zero).
1) Method will check ,suppose file should create or Not.
2) We can't identify time interval of One file to another file (from Medical Device).
So how to Solve this Problem?
 


Thanks and Regards,
Lakshmi Narayanan.S
Posted 16 Sep '12 - 21:05
Edited 16 Sep '12 - 22:38

Comments
Richard MacCutchan - 17 Sep '12 - 3:38
You need to reword your question, it is far from clear what you are trying to do here. And it is not urgent to anyone but you.
Joan Murt - 17 Sep '12 - 4:22
Probably reading chars coming from the port itself, putting them into a memory buffer and parsing it would allow you to look for the end of file... and then you'll be able to store them in files inside your hdd, but I'm with Richard, this is far from being understandable, try to reword it to allow us to get the needs clear and then probably we will be able to help...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 233
1 Sergey Alexandrovich Kryukov 208
2 Rohan Leuva 195
3 Abhinav S 168
4 Mahesh Bailwal 165
0 Sergey Alexandrovich Kryukov 8,474
1 OriginalGriff 6,714
2 CPallini 3,603
3 Rohan Leuva 2,853
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid