I'm a new user to Dev-C++ after a long break from coding (previously VB, Turbo-C, MPLAB, Quickbasic 4 and BlitzMax)
anyway, to cut a long story short
I recently downloaded some example code from MSDN, in particular the 4918 sample titled "MTTTY" for serial comms in Win32. I am able to view all of the code and associated files without any issues, but what I want to know is,
how would I go about loading the project as a whole in a state that I would be able to compile it from within the Dev-C++ IDE?
I have a working install of version 4.9.9.2 and I will provide a list of the files in the example package below, but I really want to know if there is a general answer rather than how to deal with this specific example.
I have to apologise if this question has been addressed before, I am having issues where my browser crashes when I attempt to load most of the links on the "PLEASE READ.." thread. Is it possible some of the links are to threads that no longer exist?
Thanks for any assistance.
The files in the MSDN 4918 package:
ABOUT.C
ABSTRACT.TXT
ERROR.C
INIT.C
MAKEFILE
MTTTY.C
MTTTY.H
MTTTY.ICO
MTTTY.MAK
MTTTY.RC
MTTTY2.ICO
MTTTY3.ICO
MTTTY4.ICO
READER.C
READSTAT.C
RESOURCE.H
SETTINGS.C
STATUS.C
TRANSFER.C
TTYINFO.H
WRITER.C
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately a VC++ v6 project file is not included since you can import those directly. The Makefile is a Microsoft NMAKE rather than GNU MMAKE but could possibly be adapted.
However, looking at the make file there appears to be nothing particularly special about teh build, and Dev-C++'s generated make will probably work just fine.
I suggest you start by creating an empty Win32 GUI project (File->New->Project, empty, Win32 GUI), then add the files .C, .H(otional), and .RC files to the project and try it.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm a new user to Dev-C++ after a long break from coding (previously VB, Turbo-C, MPLAB, Quickbasic 4 and BlitzMax)
anyway, to cut a long story short
I recently downloaded some example code from MSDN, in particular the 4918 sample titled "MTTTY" for serial comms in Win32. I am able to view all of the code and associated files without any issues, but what I want to know is,
how would I go about loading the project as a whole in a state that I would be able to compile it from within the Dev-C++ IDE?
I have a working install of version 4.9.9.2 and I will provide a list of the files in the example package below, but I really want to know if there is a general answer rather than how to deal with this specific example.
I have to apologise if this question has been addressed before, I am having issues where my browser crashes when I attempt to load most of the links on the "PLEASE READ.." thread. Is it possible some of the links are to threads that no longer exist?
Thanks for any assistance.
The files in the MSDN 4918 package:
ABOUT.C
ABSTRACT.TXT
ERROR.C
INIT.C
MAKEFILE
MTTTY.C
MTTTY.H
MTTTY.ICO
MTTTY.MAK
MTTTY.RC
MTTTY2.ICO
MTTTY3.ICO
MTTTY4.ICO
READER.C
READSTAT.C
RESOURCE.H
SETTINGS.C
STATUS.C
TRANSFER.C
TTYINFO.H
WRITER.C
Unfortunately a VC++ v6 project file is not included since you can import those directly. The Makefile is a Microsoft NMAKE rather than GNU MMAKE but could possibly be adapted.
However, looking at the make file there appears to be nothing particularly special about teh build, and Dev-C++'s generated make will probably work just fine.
I suggest you start by creating an empty Win32 GUI project (File->New->Project, empty, Win32 GUI), then add the files .C, .H(otional), and .RC files to the project and try it.
Clifford