Incorporating C code into MSVC++ compiler

This is a discussion on Incorporating C code into MSVC++ compiler within the C Programming forums, part of the General Programming Boards category; I have received a number of different pieces of C code and their header files together with a number of ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    9

    Question Incorporating C code into MSVC++ compiler

    I have received a number of different pieces of C code and their header files together with a number of .dll library files on which they depend. Together they form a C application.
    I have MSVC++ version 6.
    How do I take these pieces of code, incorporate them into MSVC++, and compile them to make an executable program?
    (The C code was generated from Matlab compiling through the MSVC++ compiler).

  2. #2
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    This is more of a question for the Windows programming board. Not all of us are using Microsoft.

    My guess is that you create a Win32 project workspace. In file manager view select the folders corresponding to source files (cpp files) and header files (.h files) and copy the contents into those folders. As far as the dll goes, I believe that the types and functions need to be exported to the source files, especially the point of entry main.cpp, however I don't know for sure. I'm using Linux gcc.

    Repost on the Windows Programming Forum.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 04:00 PM
  2. << !! Posting Code? Read this First !! >>
    By kermi3 in forum Windows Programming
    Replies: 0
    Last Post: 10-14-2002, 02:29 PM
  3. << !! Posting Code? Read this First !! >>
    By kermi3 in forum Game Programming
    Replies: 0
    Last Post: 10-14-2002, 02:27 PM
  4. << !! Posting Code? Read this First !! >>
    By biosx in forum C++ Programming
    Replies: 1
    Last Post: 03-20-2002, 12:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21