Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 16-Sep-12 22:38pm
v4
Comments
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 M 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900