Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 22:05pm
Edited 16-Sep-12 23:38pm
v4
Comments
Richard MacCutchan at 17-Sep-12 3:38am
   
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 at 17-Sep-12 4:22am
   
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
0 OriginalGriff 341
1 Marcin Kozub 225
2 Sergey Alexandrovich Kryukov 220
3 Praneet Nadkar 197
4 Shweta N Mishra 161
0 OriginalGriff 8,149
1 Sergey Alexandrovich Kryukov 7,287
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,910


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100