Click here to Skip to main content
13,201,050 members (52,092 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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:05pm
Updated 16-Sep-12 22:38pm
Richard MacCutchan 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171020.1 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2017
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