Menu

Importing foreign projects to Dev-C++

Richard
2008-01-17
2012-09-26
  • Richard

    Richard - 2008-01-17

    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

     
    • cpns

      cpns - 2008-01-17

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.