Thursday, July 9, 2009

I need somehelp with a C/C++ program translation in VB?

I am trying to create a program to drive hardware with an easy to use interface. I have minimal programming knowledge in C++ ( 1 intro class) and no experience with VB6. The code can be found at





http://www.koders.com/cpp/fid028C5D6B624...





simply, the C interface, being dos based is antiquated... i have been told VB6 is the way to go, but i have noe real clue as to how to translte the details over. I am not asking someon to translate it for me, but i know there are some translating programs, but is there one for this application? would it work? do i need to hire a professional? how much would that cost? any help would be greatly appreciated.

I need somehelp with a C/C++ program translation in VB?
By interface, I assume you're talking about the user interface? Is there a specific reason you want to change it (other than it's antiquated)? The reason I ask is, the old saying about "if it aint broke, don't fix it" could apply here. If there are specific issues with the user interface that need to be fixed, and it's determined that a rewrite is the way to fix it, then no problem. If it's because it doesn't meet your definition of something that looks splashy, then you may want to reconsider.





That being said, having looked at the code, I think you are in deep trouble if you try to translate the code. If you're using a translator, I assume you aren't very comfortable with either the language, or the devices that it's controlling. This looks like the start of a nightmare scenario esp. considering that it looks like this is controlling medical equipment?





I would recommend that you find someone who knows c++/windows programming. Have them only modify the display/data entry aspects of the application (one way is to split the app apart into display/input functions vs those that actually contain control logic) and leave the other logic alone. Run the app, mimic the interfaces functionality, but use the original logic code. A lot of interfacing with hardware is encoding knowledge either gained by data sheets or simple trail and error, so any attempt to "fix" or "optimize" or "tweak" existing control code can be devastating.





Also, you do realize that that is not the entire app as well right? It looks like some of the functions, specifically, those that actually communicate with the devices, are not there.


No comments:

Post a Comment