f.ben.isaac
September 30th, 2008, 07:06 AM
Do i have to code it again for WinAPI?
|
Click to See Complete Forum and Search --> : I Have Got Several Console C++ Codes. Is It Hard To Change It To WinAPI? f.ben.isaac September 30th, 2008, 07:06 AM Do i have to code it again for WinAPI? olivthill September 30th, 2008, 07:39 AM Sometimes, it is easy, sometimes it is difficult. It mostly depends on three things: - How are coded your I/O functions? - Are they event-driven applications, or can they easily be changed to support the Windows message loop? - How many improvments do you want to do? (my boss aksed me to turn a console application into a windows application and I soon realize that was not a simple translation, but also an addition of many new features like buttons instead of keys, displaying and printing with various fonts instead of using a fixed font, etc.). f.ben.isaac September 30th, 2008, 08:08 AM but the main algorithm remains the same, right? olivthill September 30th, 2008, 08:52 AM Trust your horoscope, or give us a lot of details, because your question is like asking if it is possible to take the train instead of going on a road, without saying anything else. Igor Vartanov October 11th, 2008, 06:18 AM Do i have to code it again for WinAPI?Been talking about WinAPI, do you have in mind window application? Just asking, because console program is absolutely WinAPI program. :) f.ben.isaac October 11th, 2008, 10:26 AM Yes i mean changing from console app. to GUI app. Igor Vartanov October 13th, 2008, 04:32 AM Well, then you have to "dismantle" your console app - isolate executive logice from the logic of collecting settings (something like user input). The most probable thing is that your executive logic may remain unchanged unless some progress visualization is required to be implemented. But logic of managing your settings would change for sure (of course, if you have the one) zkidkid October 13th, 2008, 04:44 AM If u just want to change to GUI, it will be easy by using edit box for input and output. It's not hard as ur imagion Let do it now. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |