i realize this is a very old thread, but what to use to compile this? I tried with vs2017 but there are too many errors. I have checked the paths and all is good. Any help would be great.
What kind of errors do you have?
What are you trying to achieve: just to compile a very old sample or to get a working code for serial communication? Or something else?
How are you compiling - using mttty.mak or from VS IDE Build/Build Solution?
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
I wanted to use this program for serial communication because the cr and lf commands are working in the window, there are very few terminals that actually work like this. I would also like to implement the ansii esc sequences.
Because this terminal moves the window cursor in a specific way, it is better than most vb or other terminals out there.
I am compiling it with vs2017. the version i downloaded is from here:
I wanted to use this program for serial communication because the cr and lf commands are working in the window, there are very few terminals that actually work like this. I would also like to implement the ansii esc sequences.
....
Don't believe everything you read! Create a new project and open the .sln file. This will create the solution with the required .c/.h files etc. You then need to make changes to two of the source files
This now compiles OK on my system (with a couple of warnings about duplicate dialog control ids) and the generated .exe file runs and shows the expected window etc.
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.