Solved

create a make file project in visual studio

Posted on 2006-10-28
4
808 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

708 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

12 Experts available now in Live!

Get 1:1 Help Now