Solved

create a make file project in visual studio

Posted on 2006-10-28
4
809 Views
Last Modified: 2008-03-06
hi experts,
actually, i'm trying to create a project in visual studio 98.
and this project should contains header files and make file with couple of source files.
however, i'm able to do that. i was trying this with makefile and other types of projects.
can you give me some idea how can i create it, or send me the sample code so that i can take help of that.
0
Comment
Question by:rrahulgupta
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:PaulCaswell
ID: 17828564
Hi rrahulgupta,

The MakeFile project in VS is more used for taking an old project that uses a make file and getting it working in VS. Generally you would not use MakeFile projects unless you have to. Why do you need one?  

Paul
0
 

Author Comment

by:rrahulgupta
ID: 17829833
thanks paul.
actually, i have to develop an api that will interact will mysql database.
so, for that i need to write couple of c files with makefile.
because i'm new to C language but have good idea in java programming and wriiten the same kind of api in java.
i want to let u know that currentely i'm using mingw-mysys to build the c project and not using any ide.    
what should i do to implement in c language?

-rahul
0
 
LVL 16

Accepted Solution

by:
PaulCaswell earned 500 total points
ID: 17830849
If you already have the C code building with a .mak file then you would be better to create an ordinary project and let VC work out the dependencies.

Create your project as a normal app. Add your sources to it and build it. Deal with the problems as you find them.

If you dont know how to create a project, get VC to create a 'hello world' project and work from there.

What problems do you get when you try this?

Paul
0
 

Author Comment

by:rrahulgupta
ID: 17830913
thanks paul.
now i'm able to create the project on eclipse CDT and not using VS.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
using pointers to pointers to write to a two dimensional array 16 88
List out all word 7 260
Unable to start eclipse ? 17 132
Super Scope, DHCP 5 53
Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now